Completed
Pull Request — master (#32)
by Sébastien
06:18
created
src/SortableTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      * @param \Illuminate\Database\Eloquent\Builder $query
56 56
      * @param int $position
57 57
      *
58
-     * @return \Illuminate\Database\Query\Builder
58
+     * @return Builder
59 59
      */
60 60
     public function scopeAbove(Builder $query, int $position)
61 61
     {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * @param \Illuminate\Database\Eloquent\Builder $query
69 69
      * @param int $position
70 70
      *
71
-     * @return \Illuminate\Database\Query\Builder
71
+     * @return Builder
72 72
      */
73 73
     public function scopeBelow(Builder $query, int $position)
74 74
     {
Please login to merge, or discard this patch.
tests/TestCase.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,20 +41,20 @@
 block discarded – undo
41 41
 
42 42
     protected function setUpDatabase()
43 43
     {
44
-        $this->app['db']->connection()->getSchemaBuilder()->create('dummies', function (Blueprint $table) {
44
+        $this->app['db']->connection()->getSchemaBuilder()->create('dummies', function(Blueprint $table) {
45 45
             $table->increments('id');
46 46
             $table->string('name');
47 47
             $table->integer('order_column');
48 48
         });
49 49
 
50
-        collect(range(1, 20))->each(function (int $i) {
50
+        collect(range(1, 20))->each(function(int $i) {
51 51
             Dummy::create(['name' => $i]);
52 52
         });
53 53
     }
54 54
 
55 55
     protected function setUpSoftDeletes()
56 56
     {
57
-        $this->app['db']->connection()->getSchemaBuilder()->table('dummies', function (Blueprint $table) {
57
+        $this->app['db']->connection()->getSchemaBuilder()->table('dummies', function(Blueprint $table) {
58 58
             $table->softDeletes();
59 59
         });
60 60
     }
Please login to merge, or discard this patch.