1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-18 19:51:22 +02:00

Add a code comment to prevent future regressions

This commit is contained in:
vlakoff
2017-04-30 17:00:04 +02:00
parent b29b7946d6
commit e1b0bc1492

View File

@@ -332,6 +332,7 @@ abstract class AbstractDecoder
case $this->isFilePath():
return $this->initFromPath($this->data);
// isBase64 has to be after isFilePath to prevent false positives
case $this->isBase64():
return $this->initFromBinary(base64_decode($this->data));