@@ -289,7 +289,7 @@ discard block |
||
289 | 289 | /** |
290 | 290 | * Run a macro on the image. |
291 | 291 | * |
292 | - * @param $macro |
|
292 | + * @param string $macro |
|
293 | 293 | * @return Image |
294 | 294 | * @throws \Exception |
295 | 295 | */ |
@@ -394,7 +394,7 @@ discard block |
||
394 | 394 | * |
395 | 395 | * @param null $format |
396 | 396 | * @param int $quality |
397 | - * @return String |
|
397 | + * @return \Intervention\Image\Image |
|
398 | 398 | */ |
399 | 399 | public function encode($format = null, $quality = null) |
400 | 400 | { |
@@ -495,7 +495,7 @@ discard block |
||
495 | 495 | /** |
496 | 496 | * Determine if the image needs to be published |
497 | 497 | * |
498 | - * @param $path |
|
498 | + * @param string $path |
|
499 | 499 | * @return bool |
500 | 500 | */ |
501 | 501 | private function shouldPublish($path) |
@@ -531,7 +531,7 @@ discard block |
||
531 | 531 | /** |
532 | 532 | * Publish an image to the publish directory. |
533 | 533 | * |
534 | - * @param $path |
|
534 | + * @param string $path |
|
535 | 535 | */ |
536 | 536 | protected function publish($path) |
537 | 537 | { |
@@ -600,7 +600,7 @@ discard block |
||
600 | 600 | /** |
601 | 601 | * Return the image srcsets by set. |
602 | 602 | * |
603 | - * @return array |
|
603 | + * @return string |
|
604 | 604 | */ |
605 | 605 | public function srcset() |
606 | 606 | { |
@@ -843,7 +843,7 @@ discard block |
||
843 | 843 | /** |
844 | 844 | * Get the image instance. |
845 | 845 | * |
846 | - * @return \Intervention\Image\Image |
|
846 | + * @return null|string |
|
847 | 847 | */ |
848 | 848 | public function getImage() |
849 | 849 | { |
@@ -940,7 +940,7 @@ discard block |
||
940 | 940 | /** |
941 | 941 | * Add an attribute. |
942 | 942 | * |
943 | - * @param $attribute |
|
943 | + * @param string $attribute |
|
944 | 944 | * @param $value |
945 | 945 | * @return $this |
946 | 946 | */ |
@@ -1015,7 +1015,7 @@ discard block |
||
1015 | 1015 | /** |
1016 | 1016 | * Set the output mode. |
1017 | 1017 | * |
1018 | - * @param $output |
|
1018 | + * @param string $output |
|
1019 | 1019 | * @return $this |
1020 | 1020 | */ |
1021 | 1021 | public function setOutput($output) |
@@ -1061,7 +1061,7 @@ discard block |
||
1061 | 1061 | /** |
1062 | 1062 | * Add a path by it's namespace hint. |
1063 | 1063 | * |
1064 | - * @param $namespace |
|
1064 | + * @param string $namespace |
|
1065 | 1065 | * @param $path |
1066 | 1066 | * @return $this |
1067 | 1067 | */ |
@@ -107,7 +107,7 @@ |
||
107 | 107 | /** |
108 | 108 | * Return if a macro exists or not. |
109 | 109 | * |
110 | - * @param $macro |
|
110 | + * @param string $macro |
|
111 | 111 | * @return bool |
112 | 112 | */ |
113 | 113 | public function isMacro($macro) |