Completed
Push — master ( c7affe...8bcad0 )
by Anton
02:39
created
applicaiton/modules/test/controllers/react.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  *
19 19
  * @return void
20 20
  */
21
-return function () {
21
+return function() {
22 22
     /**
23 23
      * @var Controller $this
24 24
      */
Please login to merge, or discard this patch.
applicaiton/modules/test/controllers/grid-table.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 string
18 18
  */
19
-return function () {
19
+return function() {
20 20
     /**
21 21
      * @var Controller $this
22 22
      */
Please login to merge, or discard this patch.
applicaiton/modules/test/controllers/ajax-html.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 /**
15 15
  * @return void
16 16
  */
17
-return function () {
17
+return function() {
18 18
     /**
19 19
      * @var Controller $this
20 20
      */
Please login to merge, or discard this patch.
applicaiton/modules/test/controllers/route.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 /**
15 15
  * @return void
16 16
  */
17
-return function () {
17
+return function() {
18 18
     /**
19 19
      * @var Controller $this
20 20
      */
Please login to merge, or discard this patch.
data/seeds/TestSeeder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@
 block discarded – undo
15 15
     public function run()
16 16
     {
17 17
         $faker = Faker\Factory::create();
18
-        $data = [];
18
+        $data = [ ];
19 19
         for ($i = 0; $i < 100; $i++) {
20
-            $data[] = [
20
+            $data[ ] = [
21 21
                 'username'      => $faker->userName,
22 22
                 'email'         => $faker->email,
23
-                'status'        => array_rand(['active' => 1, 'disable' => 2, 'delete' => 3]),
23
+                'status'        => array_rand([ 'active' => 1, 'disable' => 2, 'delete' => 3 ]),
24 24
                 'created'       => date('Y-m-d H:i:s'),
25 25
             ];
26 26
         }
Please login to merge, or discard this patch.
data/migrations/20170317111111_create_test_table.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.