Completed
Push — master ( d71459...317cc4 )
by Anton
13s
created
application/modules/test/controllers/grid-table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,13 +17,13 @@
 block discarded – undo
17 17
 /**
18 18
  * @return string
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
             'Grid',
28 28
             'Table as Select source',
29 29
         ]
Please login to merge, or discard this patch.
application/modules/test/controllers/grid-with-filter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
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
             'Grid',
27 27
             'Filters',
28 28
         ]
Please login to merge, or discard this patch.
application/modules/test/controllers/view-partial.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,21 +16,21 @@
 block discarded – undo
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
             'View Partial Helpers',
27 27
         ]
28 28
     );
29 29
     return [
30 30
         'data' => [
31
-            'first' => [2, 3, 4, 5],
32
-            'second' => [9, 8, 7, 6],
33
-            'third' => [1, 3, 5, 7],
31
+            'first' => [ 2, 3, 4, 5 ],
32
+            'second' => [ 9, 8, 7, 6 ],
33
+            'third' => [ 1, 3, 5, 7 ],
34 34
         ]
35 35
     ];
36 36
 };
Please login to merge, or discard this patch.
application/modules/test/controllers/db-table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,13 +17,13 @@
 block discarded – undo
17 17
  * @TODO: need more informative example
18 18
  * @return bool
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
             'Database',
28 28
             'Table',
29 29
         ]
Please login to merge, or discard this patch.
application/modules/test/controllers/grid-route.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,13 +23,13 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
application/modules/test/controllers/react.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,13 +17,13 @@
 block discarded – undo
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
     );
Please login to merge, or discard this patch.
application/modules/test/controllers/form.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,13 +22,13 @@
 block discarded – undo
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
     );
Please login to merge, or discard this patch.
application/modules/test/controllers/ajax-form.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
application/modules/test/controllers/file.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 };
Please login to merge, or discard this patch.