@@ -23,13 +23,13 @@ discard block |
||
| 23 | 23 | * |
| 24 | 24 | * @return string |
| 25 | 25 | */ |
| 26 | -return function ($alias) { |
|
| 26 | +return function($alias) { |
|
| 27 | 27 | /** |
| 28 | 28 | * @var Controller $this |
| 29 | 29 | */ |
| 30 | 30 | Layout::breadCrumbs( |
| 31 | 31 | [ |
| 32 | - Layout::ahref('Test', ['test', 'index']), |
|
| 32 | + Layout::ahref('Test', [ 'test', 'index' ]), |
|
| 33 | 33 | 'Grid', |
| 34 | 34 | 'Request params', |
| 35 | 35 | ] |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | $grid = new Test\SelectGrid(); |
| 38 | 38 | $grid->setModule($this->module); |
| 39 | 39 | $grid->setController($this->controller); |
| 40 | - $grid->setParams(['alias' => $alias]); |
|
| 40 | + $grid->setParams([ 'alias' => $alias ]); |
|
| 41 | 41 | |
| 42 | 42 | $this->assign('grid', $grid); |
| 43 | 43 | |
@@ -17,13 +17,13 @@ |
||
| 17 | 17 | * |
| 18 | 18 | * @return void |
| 19 | 19 | */ |
| 20 | -return function () { |
|
| 20 | +return function() { |
|
| 21 | 21 | /** |
| 22 | 22 | * @var Controller $this |
| 23 | 23 | */ |
| 24 | 24 | Layout::breadCrumbs( |
| 25 | 25 | [ |
| 26 | - Layout::ahref('Test', ['test', 'index']), |
|
| 26 | + Layout::ahref('Test', [ 'test', 'index' ]), |
|
| 27 | 27 | 'React', |
| 28 | 28 | ] |
| 29 | 29 | ); |
@@ -22,13 +22,13 @@ |
||
| 22 | 22 | * |
| 23 | 23 | * @return array |
| 24 | 24 | */ |
| 25 | -return function ($int, $string, $array, $optional = 0) { |
|
| 25 | +return function($int, $string, $array, $optional = 0) { |
|
| 26 | 26 | /** |
| 27 | 27 | * @var Controller $this |
| 28 | 28 | */ |
| 29 | 29 | Layout::breadCrumbs( |
| 30 | 30 | [ |
| 31 | - Layout::ahref('Test', ['test', 'index']), |
|
| 31 | + Layout::ahref('Test', [ 'test', 'index' ]), |
|
| 32 | 32 | 'Form Example', |
| 33 | 33 | ] |
| 34 | 34 | ); |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | * |
| 17 | 17 | * @return void |
| 18 | 18 | */ |
| 19 | -return function ($formName) { |
|
| 19 | +return function($formName) { |
|
| 20 | 20 | /** |
| 21 | 21 | * @var Controller $this |
| 22 | 22 | */ |
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | /** |
| 17 | 17 | * @return void |
| 18 | 18 | */ |
| 19 | -return function () { |
|
| 19 | +return function() { |
|
| 20 | 20 | /** |
| 21 | 21 | * @var Controller $this |
| 22 | 22 | */ |
@@ -25,5 +25,5 @@ discard block |
||
| 25 | 25 | Response::addHeader('Cache-Control', 'must-revalidate'); |
| 26 | 26 | Response::addHeader('Pragma', 'public'); |
| 27 | 27 | |
| 28 | - $this->attachment(PATH_PUBLIC . '/img/loading.gif'); |
|
| 28 | + $this->attachment(PATH_PUBLIC.'/img/loading.gif'); |
|
| 29 | 29 | }; |
@@ -19,9 +19,9 @@ |
||
| 19 | 19 | * |
| 20 | 20 | * @return void |
| 21 | 21 | */ |
| 22 | -return function ($a = 0) { |
|
| 22 | +return function($a = 0) { |
|
| 23 | 23 | /** |
| 24 | 24 | * @var Controller $this |
| 25 | 25 | */ |
| 26 | - $this->assign('current', 'Time is ' . date('H:i:s') . ' and $a = `' . $a . '`'); |
|
| 26 | + $this->assign('current', 'Time is '.date('H:i:s').' and $a = `'.$a.'`'); |
|
| 27 | 27 | }; |
@@ -16,13 +16,13 @@ |
||
| 16 | 16 | /** |
| 17 | 17 | * @return array |
| 18 | 18 | */ |
| 19 | -return function () { |
|
| 19 | +return function() { |
|
| 20 | 20 | /** |
| 21 | 21 | * @var Controller $this |
| 22 | 22 | */ |
| 23 | 23 | Layout::breadCrumbs( |
| 24 | 24 | [ |
| 25 | - Layout::ahref('Test', ['test', 'index']), |
|
| 25 | + Layout::ahref('Test', [ 'test', 'index' ]), |
|
| 26 | 26 | 'Session', |
| 27 | 27 | ] |
| 28 | 28 | ); |
@@ -16,13 +16,13 @@ |
||
| 16 | 16 | /** |
| 17 | 17 | * @return void |
| 18 | 18 | */ |
| 19 | -return function () { |
|
| 19 | +return function() { |
|
| 20 | 20 | /** |
| 21 | 21 | * @var Controller $this |
| 22 | 22 | */ |
| 23 | 23 | Layout::breadCrumbs( |
| 24 | 24 | [ |
| 25 | - Layout::ahref('Test', ['test', 'index']), |
|
| 25 | + Layout::ahref('Test', [ 'test', 'index' ]), |
|
| 26 | 26 | 'Database', |
| 27 | 27 | 'Query Builders', |
| 28 | 28 | ] |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | * |
| 23 | 23 | * @return void |
| 24 | 24 | */ |
| 25 | -return function ($messages = false) { |
|
| 25 | +return function($messages = false) { |
|
| 26 | 26 | /** |
| 27 | 27 | * @var Controller $this |
| 28 | 28 | */ |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | |
| 35 | 35 | $this->assign('baz', 'qux'); |
| 36 | 36 | } |
| 37 | - Messages::addNotice('Method ' . Request::getMethod()); |
|
| 37 | + Messages::addNotice('Method '.Request::getMethod()); |
|
| 38 | 38 | |
| 39 | 39 | $this->assign('foo', 'bar'); |
| 40 | 40 | }; |