Completed
Push — master ( 553b6e...36d08f )
by CodexShaper
49:40 queued 44:32
created
src/Database/Schema/ForeignKey.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     {
77 77
         $table = trim($table);
78 78
 
79
-        if (! static::tableExists($table)) {
79
+        if (!static::tableExists($table)) {
80 80
             throw SchemaException::tableDoesNotExist($table);
81 81
         }
82 82
 
Please login to merge, or discard this patch.
src/Database/Schema/Table.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     public static function create($table)
89 89
     {
90
-        if (! is_array($table)) {
90
+        if (!is_array($table)) {
91 91
             $table = json_decode($table, true);
92 92
         }
93 93
 
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      */
112 112
     public static function update($table)
113 113
     {
114
-        if (! is_array($table)) {
114
+        if (!is_array($table)) {
115 115
             $table = json_decode($table, true);
116 116
         }
117 117
 
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      */
148 148
     public static function prepareTable($table)
149 149
     {
150
-        if (! is_array($table)) {
150
+        if (!is_array($table)) {
151 151
             $table = json_decode($table, true);
152 152
         }
153 153
 
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
             return MongoDB::hasCollection($tableName);
262 262
         }
263 263
 
264
-        if (! SchemaManager::getInstance()->tablesExist($tableName)) {
264
+        if (!SchemaManager::getInstance()->tablesExist($tableName)) {
265 265
             throw SchemaException::tableDoesNotExist($tableName);
266 266
         }
267 267
 
@@ -284,8 +284,8 @@  discard block
 block discarded – undo
284 284
         $options['path'] = Paginator::resolveCurrentPath();
285 285
         $items = static::all();
286 286
         $collection = $items instanceof Collection ? $items : Collection::make($items);
287
-        if (! empty($query)) {
288
-            $collection = $collection->filter(function ($value, $key) use ($query) {
287
+        if (!empty($query)) {
288
+            $collection = $collection->filter(function($value, $key) use ($query) {
289 289
                 return false !== stristr($value, $query);
290 290
             });
291 291
         }
Please login to merge, or discard this patch.