@@ -120,7 +120,7 @@ |
||
120 | 120 | $deleteField = $attachmentData->field_name; |
121 | 121 | } |
122 | 122 | |
123 | - $S3 = new S3(); |
|
123 | + $S3 = new S3(); |
|
124 | 124 | // リサイズのディレクトリ |
125 | 125 | $resizeDir = Configure::read('ContentsFile.Setting.S3.fileDir') . $modelName . '/' . $modelId . '/' . 'contents_file_resize_' . $deleteField . '/'; |
126 | 126 | if (!$S3->deleteRecursive($resizeDir)) { |
@@ -229,7 +229,7 @@ |
||
229 | 229 | * @author hagiwara |
230 | 230 | * @param string $imagePath |
231 | 231 | * @param array $resize |
232 | - * @return array |
|
232 | + * @return resource |
|
233 | 233 | */ |
234 | 234 | public function getPathInfo(string $imagePath, array $resize = []): array |
235 | 235 | { |