Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from LaravelRUS/1.0
Browse files Browse the repository at this point in the history
Added compatibilty with older versions of PHP and Laravel
  • Loading branch information
Amegatron committed Jun 22, 2014
2 parents c0f95a3 + 2df04d1 commit cb4bd04
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
}
],
"require": {
"php": ">=5.4.0",
"illuminate/support": "4.2.*"
"php": ">=5.3.0",
"illuminate/support": ">=4.1.*"
},
"autoload": {
"psr-0": {
Expand Down
2 changes: 1 addition & 1 deletion src/Laravelrus/LocalizedCarbon/DiffFormatterFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use Laravelrus\LocalizedCarbon\DiffFormatters\DiffFormatterInterface;

class DiffFormatterFactory {
protected $formatters = [];
protected $formatters = array();

public function extend($language, $formatter) {
$language = strtolower($language);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class LocalizedCarbonServiceProvider extends ServiceProvider {
*
* @var bool
*/
protected $defer = false;
protected $defer = true;

/**
* Bootstrap the application events.
Expand Down

0 comments on commit cb4bd04

Please sign in to comment.