@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | foreach ($checklist as $condition => $action) { |
58 | 58 | |
59 | 59 | $checkResult = call_user_func(array($this, $condition)); |
60 | - pdump($action, $condition . ' ' . ($checkResult ? 'TRUE' : 'FALSE')); |
|
60 | + pdump($action, $condition.' '.($checkResult ? 'TRUE' : 'FALSE')); |
|
61 | 61 | |
62 | 62 | // // Simple action on failed check |
63 | 63 | // if(!is_array($action)) { |
@@ -542,10 +542,10 @@ discard block |
||
542 | 542 | protected function checkMissionPrefix($name, $prefix) { |
543 | 543 | $result = false; |
544 | 544 | if (strpos($name, $prefix) === 0) { |
545 | - $mission = 'MT_' . strtoupper(substr($name, strlen($prefix))); |
|
545 | + $mission = 'MT_'.strtoupper(substr($name, strlen($prefix))); |
|
546 | 546 | if (!defined($mission)) { |
547 | 547 | // TODO - Ну, как-то получше это обделать |
548 | - throw new Exception('Mission type "' . $mission . '" is not defined'); |
|
548 | + throw new Exception('Mission type "'.$mission.'" is not defined'); |
|
549 | 549 | } |
550 | 550 | |
551 | 551 | $result = constant($mission); |