@@ -49,7 +49,7 @@ |
||
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | - * @param $path |
|
| 52 | + * @param string $path |
|
| 53 | 53 | * @param string $filename Filename for saving dialog on the client-side |
| 54 | 54 | * @param bool $forceSaveDialog |
| 55 | 55 | * @return EmptyResponse |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | /** |
| 105 | - * @return string|null |
|
| 105 | + * @return UploadedFile|null |
|
| 106 | 106 | */ |
| 107 | 107 | protected function upload() |
| 108 | 108 | { |
@@ -118,8 +118,8 @@ discard block |
||
| 118 | 118 | |
| 119 | 119 | /** |
| 120 | 120 | * @param ResourceDOInterface $resourceDO |
| 121 | - * @param $uri |
|
| 122 | - * @return UploadedFile |
|
| 121 | + * @param string $uri |
|
| 122 | + * @return DownloadedFile |
|
| 123 | 123 | * @throws ErrorException |
| 124 | 124 | * @throws \Exception |
| 125 | 125 | */ |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | - * @param $directory |
|
| 55 | + * @param string $directory |
|
| 56 | 56 | * @throws SaveResourceErrorException |
| 57 | 57 | * @see \Staticus\Resources\Middlewares\SaveResourceMiddlewareAbstract::createDirectory |
| 58 | 58 | */ |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | - * @return BackupResourceCommand |
|
| 27 | + * @return CopyResourceCommand |
|
| 28 | 28 | */ |
| 29 | 29 | public function getCommand(ResourceDO $resourceDOSource, ResourceDO $resourceDODest) |
| 30 | 30 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | - * @return BackupResourceCommand |
|
| 29 | + * @return DestroyResourceCommand |
|
| 30 | 30 | */ |
| 31 | 31 | public function getCommand(ResourceDO $resourceDO) |
| 32 | 32 | { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | - * @param mixed $width |
|
| 53 | + * @param integer $width |
|
| 54 | 54 | * @return ResourceImageDO |
| 55 | 55 | */ |
| 56 | 56 | public function setWidth($width = self::DEFAULT_WIDTH) |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | - * @param mixed $height |
|
| 73 | + * @param integer $height |
|
| 74 | 74 | * @return ResourceImageDO |
| 75 | 75 | */ |
| 76 | 76 | public function setHeight($height = self::DEFAULT_HEIGHT) |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | } |
| 118 | 118 | |
| 119 | 119 | /** |
| 120 | - * @return CropImageDOInterface|null |
|
| 120 | + * @return CropImageDOInterface |
|
| 121 | 121 | */ |
| 122 | 122 | public function getCrop() |
| 123 | 123 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - * @return BackupResourceCommand |
|
| 31 | + * @return DeleteImageSizesResourceCommand |
|
| 32 | 32 | */ |
| 33 | 33 | public function getCommand(ResourceImageDO $resourceDO) |
| 34 | 34 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | - * @return BackupResourceCommand |
|
| 29 | + * @return DeleteSafetyResourceCommand |
|
| 30 | 30 | */ |
| 31 | 31 | public function getCommand(ResourceDO $resourceDO) |
| 32 | 32 | { |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | - * @return BackupResourceCommand |
|
| 27 | + * @return DestroyEqualResourceCommand |
|
| 28 | 28 | */ |
| 29 | 29 | public function getCommand(ResourceDO $resourceDOOrigin, ResourceDO $resourceDOSuspect) |
| 30 | 30 | { |