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 c6a0cfd commit cd13a13
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 == null {
if empty ext {
let ext = (string) pathinfo(this->file, PATHINFO_EXTENSION);
}

Expand Down

0 comments on commit cd13a13

Please sign in to comment.