Skip to content

Commit

Permalink
PHP 5.3 Support (#146)
Browse files Browse the repository at this point in the history
For PHP 5.3 support, we must not use bracket arrays. Fixed a bracket array .
  • Loading branch information
fatihkizmaz authored and claviska committed Sep 7, 2016
1 parent 968272a commit 97f0c46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/abeautifulsite/SimpleImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ protected function generate($format = null, $quality = null) {
$imagestring = ob_get_contents();
ob_end_clean();

return [ $mimetype, $imagestring ];
return array($mimetype, $imagestring);
}

/**
Expand Down Expand Up @@ -1441,4 +1441,4 @@ protected function normalize_color($color) {
return false;
}

}
}

0 comments on commit 97f0c46

Please sign in to comment.