Skip to content

Commit

Permalink
#15343 - Improve condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Apr 4, 2021
1 parent f460dd3 commit c6a0cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phalcon/Image/Adapter/AbstractAdapter.zep
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ abstract class AbstractAdapter implements AdapterInterface
*/
public function render(string ext = null, int quality = 100) -> string
{
if !ext {
if ext == null {
let ext = (string) pathinfo(this->file, PATHINFO_EXTENSION);
}

Expand Down

0 comments on commit c6a0cfd

Please sign in to comment.