Skip to content

Commit a52ce41

Browse files
authored
Merge pull request #20 from iranianpep/analysis-qJg4gv
Apply fixes from StyleCI
2 parents 7f530ee + c137b2d commit a52ce41

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

src/Slackbot/AbstractCommandContainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function get($key)
1919
$commands = $this->getAll($key);
2020

2121
if (!array_key_exists($key, $commands)) {
22-
/** @noinspection PhpInconsistentReturnPointsInspection */
22+
/* @noinspection PhpInconsistentReturnPointsInspection */
2323
return;
2424
}
2525

src/Slackbot/Slackbot.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public function setRequest($request)
6060
*
6161
* @return mixed
6262
*/
63+
6364
/** @noinspection PhpInconsistentReturnPointsInspection */
6465
public function getRequest($key = null)
6566
{

src/tests/CommandContainerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function testGet()
2121

2222
$this->assertTrue($commandObject instanceof Command);
2323

24-
/** @noinspection PhpUndefinedMethodInspection */
24+
/* @noinspection PhpUndefinedMethodInspection */
2525
$this->assertEquals($commandObject->getPlugin(), 'Ping');
2626
}
2727

@@ -31,7 +31,7 @@ public function testGet()
3131
public function testGetAll()
3232
{
3333
$commands = (new CommandContainer())->getAll();
34-
/** @noinspection PhpUndefinedMethodInspection */
34+
/* @noinspection PhpUndefinedMethodInspection */
3535
$this->assertEquals($commands['ping']->getPlugin(), 'Ping');
3636
}
3737
}

src/tests/SlackbotTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ private function outputOnNoCommand($message)
217217
*/
218218
$pluginObject = (new $commandClass($slackbot));
219219

220-
/** @noinspection PhpUndefinedMethodInspection */
220+
/* @noinspection PhpUndefinedMethodInspection */
221221
return $pluginObject->index();
222222
}
223223

0 commit comments

Comments
 (0)