@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | */ |
| 258 | 258 | public function getScriptUrls() |
| 259 | 259 | { |
| 260 | - $scripts = array_values(array_map(function ($v) { |
|
| 260 | + $scripts = array_values(array_map(function($v) { |
|
| 261 | 261 | return $v->getUrl(); |
| 262 | 262 | }, $this->_headScriptFiles)); |
| 263 | 263 | $scripts = array_merge($scripts, array_values($this->_scriptFiles)); |
@@ -390,7 +390,7 @@ discard block |
||
| 390 | 390 | |
| 391 | 391 | if (is_string($button)) { |
| 392 | 392 | $buttonID = $button; |
| 393 | - } elseif($button instanceof \Prado\Web\UI\IButtonControl) { |
|
| 393 | + } elseif ($button instanceof \Prado\Web\UI\IButtonControl) { |
|
| 394 | 394 | $button->setIsDefaultButton(true); |
| 395 | 395 | $buttonID = $button->getUniqueID(); |
| 396 | 396 | } else { |
@@ -552,7 +552,7 @@ discard block |
||
| 552 | 552 | public function getStyleSheetUrls() |
| 553 | 553 | { |
| 554 | 554 | $stylesheets = array_values( |
| 555 | - array_map(function ($e) { |
|
| 555 | + array_map(function($e) { |
|
| 556 | 556 | return is_array($e) ? $e[0] : $e; |
| 557 | 557 | }, $this->_styleSheetFiles) |
| 558 | 558 | ); |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | $count = $cron->clearCronLog($this->getTimePeriod()); |
| 50 | 50 | |
| 51 | 51 | if ($cron->asa(TCronModule::SHELL_LOG_BEHAVIOR)) { |
| 52 | - $cron->getOutputWriter()->writeLine("Cleared {$count} Cron Task Logs", TShellWriter::GREEN); |
|
| 52 | + $cron->getOutputWriter()->writeLine("cleared {$count} Cron Task Logs", TShellWriter::GREEN); |
|
| 53 | 53 | } |
| 54 | 54 | } elseif (is_object($cron) && $cron->asa(TCronModule::SHELL_LOG_BEHAVIOR)) { |
| 55 | 55 | /** @var TCronModule $cron */ |
@@ -100,7 +100,7 @@ |
||
| 100 | 100 | * @var string|TActiveRecordInvalidFinderResult |
| 101 | 101 | * @since 3.1.5 |
| 102 | 102 | */ |
| 103 | - private $_invalidFinderResult = TActiveRecordInvalidFinderResult::Null; |
|
| 103 | + private $_invalidFinderResult = TActiveRecordInvalidFinderResult::null; |
|
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | 106 | * Initialize the active record manager. |