File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments