@@ -43,7 +43,7 @@ |
||
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 | { |
@@ -14,9 +14,9 @@ |
||
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; |
@@ -43,7 +43,7 @@ |
||
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 | { |
@@ -43,7 +43,7 @@ discard block |
||
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 |
||
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 | { |
@@ -142,7 +142,7 @@ |
||
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 | { |