Completed
Push — master ( 317cc4...ea1e1d )
by Anton
18s
created
application/modules/test/controllers/request.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@
 block discarded – undo
15 15
 /**
16 16
  * @return void
17 17
  */
18
-return function () {
18
+return function() {
19 19
     /**
20 20
      * @var Controller $this
21 21
      */
22 22
     Layout::breadCrumbs(
23 23
         [
24
-            Layout::ahref('Test', ['test', 'index']),
24
+            Layout::ahref('Test', [ 'test', 'index' ]),
25 25
             'Request Examples',
26 26
         ]
27 27
     );
Please login to merge, or discard this patch.
application/modules/test/controllers/options.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,19 +17,19 @@
 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
             'Options',
28 28
         ]
29 29
     );
30 30
 
31 31
     if ($example = Options\Table::get('example')) {
32
-        $message = sprintf('Option `example` was found, it is `%s`', (string)$example);
32
+        $message = sprintf('Option `example` was found, it is `%s`', (string) $example);
33 33
         Options\Table::remove('example');
34 34
     } else {
35 35
         $message = 'Option `example` not found, try again later';
Please login to merge, or discard this patch.
application/modules/test/controllers/empty.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@
 block discarded – undo
14 14
 /**
15 15
  * @return \closure
16 16
  */
17
-return function () {
17
+return function() {
18 18
     Layout::breadCrumbs(
19 19
         [
20
-            Layout::ahref('Test', ['test', 'index']),
20
+            Layout::ahref('Test', [ 'test', 'index' ]),
21 21
             'Empty',
22 22
         ]
23 23
     );
Please login to merge, or discard this patch.
application/modules/test/controllers/route-with-param.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,13 +22,13 @@  discard block
 block discarded – undo
22 22
  *
23 23
  * @return string
24 24
  */
25
-return function ($a = '42') {
25
+return function($a = '42') {
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
             'Routers Examples',
33 33
         ]
34 34
     );
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
  }</code></pre></div>
52 52
 
53 53
 CODE;
54
-    $this->assign('title', $module . '/' . $controller);
54
+    $this->assign('title', $module.'/'.$controller);
55 55
     $this->assign('content', $content);
56 56
     return 'modal.phtml';
57 57
 };
Please login to merge, or discard this patch.
application/modules/test/controllers/view-helpers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,13 +21,13 @@
 block discarded – undo
21 21
  *
22 22
  * @return void
23 23
  */
24
-return function ($sex = false, $car = 'none', $remember = false) {
24
+return function($sex = false, $car = 'none', $remember = false) {
25 25
     /**
26 26
      * @var Controller $this
27 27
      */
28 28
     Layout::breadCrumbs(
29 29
         [
30
-            Layout::ahref('Test', ['test', 'index']),
30
+            Layout::ahref('Test', [ 'test', 'index' ]),
31 31
             'View Form Helpers',
32 32
         ]
33 33
     );
Please login to merge, or discard this patch.
application/modules/test/controllers/cli.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
  *
20 20
  * @return array
21 21
  */
22
-return function ($flag = false) {
22
+return function($flag = false) {
23 23
     /**
24 24
      * @var Controller $this
25 25
      */
@@ -27,5 +27,5 @@  discard block
 block discarded – undo
27 27
         $this->assign('flag', 'true');
28 28
     }
29 29
 
30
-    return ['string' => 'bar', 'array' => ['some', 'array']];
30
+    return [ 'string' => 'bar', 'array' => [ 'some', 'array' ] ];
31 31
 };
Please login to merge, or discard this patch.
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.