Completed
Push — master ( a0b016...728b96 )
by Stéphane
24:07
created
src/Entities/Fields/Date.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     /**
44 44
      * Convert the model instance to an array.
45 45
      *
46
-     * @return array
46
+     * @return string
47 47
      */
48 48
     public function toArray()
49 49
     {
Please login to merge, or discard this patch.
src/Entities/Entity.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
 use Rocket\Entities\Exceptions\EntityNotFoundException;
15 15
 use Rocket\Entities\Exceptions\InvalidFieldTypeException;
16 16
 use Rocket\Entities\Exceptions\MultipleFieldAssignmentException;
17
-use Rocket\Entities\Exceptions\NonExistentFieldException;
18 17
 use Rocket\Entities\Exceptions\NoPublishedRevisionForLanguageException;
19 18
 use Rocket\Entities\Exceptions\NoRevisionForLanguageException;
19
+use Rocket\Entities\Exceptions\NonExistentFieldException;
20 20
 use Rocket\Entities\Exceptions\ReservedFieldNameException;
21 21
 use Rocket\Entities\Exceptions\RevisionEntityMismatchException;
22 22
 use Rocket\Entities\Exceptions\RevisionNotFoundException;
Please login to merge, or discard this patch.
src/Entities/Fields/Datetime.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     /**
44 44
      * Convert the model instance to an array.
45 45
      *
46
-     * @return array
46
+     * @return string
47 47
      */
48 48
     public function toArray()
49 49
     {
Please login to merge, or discard this patch.
src/Taxonomy/Model/TermData.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      * Create a new Eloquent model instance.
44 44
      *
45 45
      * @param  array  $attributes
46
-     * @return void
46
+     * @return Model
47 47
      */
48 48
     public function __construct(array $attributes = [])
49 49
     {
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      * Save the model to the database.
70 70
      *
71 71
      * @param  array  $options
72
-     * @return bool
72
+     * @return boolean|null
73 73
      */
74 74
     public function save(array $options = [])
75 75
     {
Please login to merge, or discard this patch.
src/Taxonomy/TaxonomyTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
      * Removes terms specified by a vocabulary, or all
143 143
      *
144 144
      * @param int|string $vocabulary_id
145
-     * @return bool
145
+     * @return integer
146 146
      */
147 147
     public function removeTerms($vocabulary_id = null)
148 148
     {
Please login to merge, or discard this patch.