Completed
Branch master (2be017)
by ARCANEDEV
12:58
created
src/Eloquent/DescendantsRelation.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      * DescendantsRelation constructor.
40 40
      *
41 41
      * @param  \Arcanedev\LaravelNestedSet\Eloquent\QueryBuilder  $builder
42
-     * @param  \Illuminate\Database\Eloquent\Model                $model
42
+     * @param  NodeTrait                $model
43 43
      */
44 44
     public function __construct(QueryBuilder $builder, Model $model)
45 45
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php namespace Arcanedev\LaravelNestedSet\Eloquent;
2 2
 
3
-use Arcanedev\LaravelNestedSet\Utilities\NestedSet;
4 3
 use Arcanedev\LaravelNestedSet\Traits\NodeTrait;
4
+use Arcanedev\LaravelNestedSet\Utilities\NestedSet;
5 5
 use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
6 6
 use Illuminate\Database\Eloquent\Collection as EloquentCollection;
7 7
 use Illuminate\Database\Eloquent\Model;
Please login to merge, or discard this patch.
src/Eloquent/QueryBuilder.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php namespace Arcanedev\LaravelNestedSet\Eloquent;
2 2
 
3
-use Arcanedev\LaravelNestedSet\Utilities\NestedSet;
4 3
 use Arcanedev\LaravelNestedSet\Traits\NodeTrait;
4
+use Arcanedev\LaravelNestedSet\Utilities\NestedSet;
5 5
 use Illuminate\Database\Eloquent\Builder;
6 6
 use Illuminate\Database\Eloquent\Model;
7 7
 use Illuminate\Database\Eloquent\ModelNotFoundException;
Please login to merge, or discard this patch.
src/Traits/NodeTrait.php 2 patches
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
     /**
230 230
      * Get the boundaries.
231 231
      *
232
-     * @return array
232
+     * @return integer[]
233 233
      */
234 234
     public function getBounds()
235 235
     {
@@ -861,7 +861,7 @@  discard block
 block discarded – undo
861 861
      *
862 862
      * @param  int  $position
863 863
      *
864
-     * @return int
864
+     * @return boolean
865 865
      */
866 866
     protected function moveNode($position)
867 867
     {
@@ -953,6 +953,7 @@  discard block
 block discarded – undo
953 953
     /**
954 954
      * Get a new base query that includes deleted nodes.
955 955
      *
956
+     * @param string $table
956 957
      * @return \Arcanedev\LaravelNestedSet\Eloquent\QueryBuilder
957 958
      */
958 959
     public function newNestedSetQuery($table = null)
@@ -967,7 +968,7 @@  discard block
 block discarded – undo
967 968
     /**
968 969
      * @param  string|null  $table
969 970
      *
970
-     * @return mixed
971
+     * @return QueryBuilder
971 972
      */
972 973
     public function newScopedQuery($table = null)
973 974
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php namespace Arcanedev\LaravelNestedSet\Traits;
2 2
 
3
-use Arcanedev\LaravelNestedSet\Eloquent\DescendantsRelation;
4 3
 use Arcanedev\LaravelNestedSet\Eloquent\Collection;
4
+use Arcanedev\LaravelNestedSet\Eloquent\DescendantsRelation;
5 5
 use Arcanedev\LaravelNestedSet\Eloquent\QueryBuilder;
6 6
 use Arcanedev\LaravelNestedSet\Utilities\NestedSet;
7 7
 use Exception;
Please login to merge, or discard this patch.