Skip to content

Commit

Permalink
- removed php 5.5 ::class keyword
Browse files Browse the repository at this point in the history
- changed namespace
  • Loading branch information
tarekadam committed Oct 31, 2015
1 parent af1b986 commit a83eb58
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Laravel Country & State Helper
Please use Doug Sisk's version.
https://github.com/DougSisk/laravel-country-state

This branch is just me trying to deal with some OpenShift issues, as well as php 5.4 probems.
This branch is just me trying to deal with some OpenShift issues, as well as php 5.4 problems.
Also, I'm new to github.
2 changes: 1 addition & 1 deletion src/CountryState.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace DougSisk\CountryState;
namespace TarekAdam\CountryState;

use Phine\Country\Loader\Loader;

Expand Down
2 changes: 1 addition & 1 deletion src/CountryStateController.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace DougSisk\CountryState;
namespace TarekAdam\CountryState;

use Illuminate\Routing\Controller;

Expand Down
2 changes: 1 addition & 1 deletion src/CountryStateFacade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace DougSisk\CountryState;
namespace TarekAdam\CountryState;

use Illuminate\Support\Facades\Facade;

Expand Down
8 changes: 4 additions & 4 deletions src/CountryStateServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace DougSisk\CountryState;
namespace TarekAdam\CountryState;

use Illuminate\Foundation\AliasLoader;
use Illuminate\Support\ServiceProvider;
Expand All @@ -14,7 +14,7 @@ class CountryStateServiceProvider extends ServiceProvider
*/
public function register()
{
$this->app->singleton('CountryState', CountryState::class);
$this->app->singleton('CountryState', 'TarekAdam\CountryState\CountryStateServiceProvider');
$this->mergeConfigFrom(__DIR__ . '/config/countrystate.php', 'countrystate');
}

Expand All @@ -28,7 +28,7 @@ public function boot()
]);

$routeConfig = [
'namespace' => 'DougSisk\CountryState',
'namespace' => 'TarekAdam\CountryState',
'prefix' => $this->app['config']->get('countrystate.routePrefix'),
];

Expand All @@ -42,7 +42,7 @@ public function boot()
]);
});

AliasLoader::getInstance()->alias('CountryState', 'DougSisk\CountryState\CountryStateFacade');
AliasLoader::getInstance()->alias('CountryState', 'TarekAdam\CountryState\CountryStateFacade');
}

/**
Expand Down

0 comments on commit a83eb58

Please sign in to comment.