@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * A resource has many text blocks. |
33 | 33 | * |
34 | - * @return MorphMany |
|
34 | + * @return \Illuminate\Database\Eloquent\Relations\MorphMany |
|
35 | 35 | */ |
36 | 36 | public function blocks() |
37 | 37 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @param string $name Name of text block to get. |
55 | 55 | * |
56 | - * @return Larafolio\Models\TextBlock|null |
|
56 | + * @return \Illuminate\Database\Eloquent\Model|null |
|
57 | 57 | */ |
58 | 58 | public function block($name) |
59 | 59 | { |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * A resource has many images. |
33 | 33 | * |
34 | - * @return MorphMany |
|
34 | + * @return \Illuminate\Database\Eloquent\Relations\MorphMany |
|
35 | 35 | */ |
36 | 36 | public function images() |
37 | 37 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @param string $name Name of image to get. |
55 | 55 | * |
56 | - * @return Larafolio\Models\Image|null |
|
56 | + * @return \Illuminate\Database\Eloquent\Model|null |
|
57 | 57 | */ |
58 | 58 | public function image($name) |
59 | 59 | { |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * A resource has many text blocks. |
33 | 33 | * |
34 | - * @return MorphMany |
|
34 | + * @return \Illuminate\Database\Eloquent\Relations\MorphMany |
|
35 | 35 | */ |
36 | 36 | public function links() |
37 | 37 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @param string $name Name of link to get. |
55 | 55 | * |
56 | - * @return Larafolio\Models\Link|null |
|
56 | + * @return \Illuminate\Database\Eloquent\Model|null |
|
57 | 57 | */ |
58 | 58 | public function link($name) |
59 | 59 | { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | * |
58 | 58 | * @param HasContent $model Model to delete. |
59 | 59 | * |
60 | - * @return boolean |
|
60 | + * @return boolean|null |
|
61 | 61 | */ |
62 | 62 | protected function purgeModel(HasContent $model) |
63 | 63 | { |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | /** |
10 | 10 | * Add a blocks and links to model. |
11 | 11 | * |
12 | - * @param HasContent $model Model to add extras to. |
|
12 | + * @param Page $model Model to add extras to. |
|
13 | 13 | * @param array $data Array of posted user data. |
14 | 14 | * |
15 | 15 | * @return HasContent |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | /** |
20 | 20 | * Update a HasContent model and its children. |
21 | 21 | * |
22 | - * @param HasContent $model Model to update. |
|
22 | + * @param Page $model Model to update. |
|
23 | 23 | * @param array $data Array of posted user data. |
24 | 24 | * |
25 | 25 | * @return HasContent |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | /** |
30 | 30 | * Permanently delete a model. |
31 | 31 | * |
32 | - * @param HasContent $model Model to delete. |
|
32 | + * @param Page $model Model to delete. |
|
33 | 33 | * |
34 | 34 | * @return boolean |
35 | 35 | */ |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | /** |
10 | 10 | * Add a blocks and links to model. |
11 | 11 | * |
12 | - * @param HasContent $model Model to add extras to. |
|
12 | + * @param Project $model Model to add extras to. |
|
13 | 13 | * @param array $data Array of posted user data. |
14 | 14 | * |
15 | 15 | * @return HasContent |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | /** |
20 | 20 | * Update a HasContent model and its children. |
21 | 21 | * |
22 | - * @param HasContent $model Model to update. |
|
22 | + * @param Project $model Model to update. |
|
23 | 23 | * @param array $data Array of posted user data. |
24 | 24 | * |
25 | 25 | * @return HasContent |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | /** |
30 | 30 | * Permanently delete a model. |
31 | 31 | * |
32 | - * @param HasContent $model Model to delete. |
|
32 | + * @param Project $model Model to delete. |
|
33 | 33 | * |
34 | 34 | * @return boolean |
35 | 35 | */ |