Skip to content

Commit

Permalink
ISSUES Trying to access array offset on null
Browse files Browse the repository at this point in the history
  • Loading branch information
caothu159 committed Jun 23, 2024
1 parent ca91ee7 commit bf980af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Framework/Image/Adapter/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Tran Ngoc Duc <ductn@diepxuan.com>
* @author Tran Ngoc Duc <caothu91@gmail.com>
*
* @lastupdate 2024-06-23 15:23:21
* @lastupdate 2024-06-23 16:15:52
*/

namespace Diepxuan\Images\Framework\Image\Adapter;
Expand Down Expand Up @@ -188,5 +188,7 @@ protected function _adaptResizeValues($frameWidth, $frameHeight)
$dims[$dimKey][$sizeKey] = (int) $size;
}
}

return $dims;
}
}

0 comments on commit bf980af

Please sign in to comment.