Completed
Push — master ( 0fc6b5...1201b5 )
by Anton
13s
created
application/modules/test/controllers/mailer.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 void
24 24
  */
25
-return function ($email = '[email protected]') {
25
+return function($email = '[email protected]') {
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
             'Mailer Example',
33 33
         ]
34 34
     );
Please login to merge, or discard this patch.
application/modules/test/controllers/backbone.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
             'Backbone',
26 26
         ]
27 27
     );
Please login to merge, or discard this patch.
application/modules/test/controllers/reflection.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
  * @route /test-reflection.html
23 23
  * @return array
24 24
  */
25
-return function ($id = 0, $other = "default value") {
25
+return function($id = 0, $other = "default value") {
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
             'Reflection of this controller',
33 33
         ]
34 34
     );
Please login to merge, or discard this patch.
application/modules/test/controllers/grid-select.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
             'Select source',
29 29
         ]
Please login to merge, or discard this patch.
application/models/Test/TableGrid.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * @link      https://github.com/bluzphp/skeleton
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Application\Test;
10 10
 
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
 
40 40
         $this->setAdapter($adapter);
41 41
         $this->setDefaultLimit(15);
42
-        $this->setAllowOrders(['name', 'id', 'status']);
43
-        $this->setAllowFilters(['status', 'id']);
42
+        $this->setAllowOrders([ 'name', 'id', 'status' ]);
43
+        $this->setAllowFilters([ 'status', 'id' ]);
44 44
 
45 45
         return $this;
46 46
     }
Please login to merge, or discard this patch.
application/models/Test/Row.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * @link      https://github.com/bluzphp/skeleton
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Application\Test;
10 10
 
Please login to merge, or discard this patch.
data/migrations/20170317111211_test.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,9 +37,9 @@
 block discarded – undo
37 37
     {
38 38
         $table = $this->table('test');
39 39
         $table
40
-            ->addColumn('name', 'string', ['length' => 255])
41
-            ->addColumn('email', 'string', ['length' => 255, 'null' => true])
42
-            ->addColumn('status', 'enum', ['values' => ['active', 'disable', 'delete']])
40
+            ->addColumn('name', 'string', [ 'length' => 255 ])
41
+            ->addColumn('email', 'string', [ 'length' => 255, 'null' => true ])
42
+            ->addColumn('status', 'enum', [ 'values' => [ 'active', 'disable', 'delete' ] ])
43 43
             ->addTimestamps('created', 'updated')
44 44
             ->create();
45 45
     }
Please login to merge, or discard this patch.