Completed
Push — master ( 590ad2...37f4aa )
by Freek
02:11
created
tests/TestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     {
44 44
         file_put_contents(__DIR__.'/database.sqlite', null);
45 45
 
46
-        $this->app['db']->connection()->getSchemaBuilder()->create('dummies', function (Blueprint $table) {
46
+        $this->app['db']->connection()->getSchemaBuilder()->create('dummies', function(Blueprint $table) {
47 47
             $table->increments('id');
48 48
             $table->string('name');
49 49
             $table->integer('order_column');
Please login to merge, or discard this patch.
src/SortableTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 {
9 9
     public static function bootSortableTrait()
10 10
     {
11
-        static::creating(function ($model) {
11
+        static::creating(function($model) {
12 12
             if ($model instanceof Sortable && $model->shouldSortWhenCreating()) {
13 13
                 $model->setHighestOrderNumber();
14 14
             }
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public function getHighestOrderNumber()
33 33
     {
34
-        return (int)static::max($this->determineOrderColumnName());
34
+        return (int) static::max($this->determineOrderColumnName());
35 35
     }
36 36
 
37 37
     /**
Please login to merge, or discard this patch.