Skip to content

Commit

Permalink
Removed useless reference switches.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomFlidr committed Mar 3, 2021
1 parent 4533969 commit 2087eee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
@@ -1,6 +1,6 @@
# MvcCore - Extension - Router - Modules With Media & Localization

[![Latest Stable Version](https://img.shields.io/badge/Stable-v5.0.0-brightgreen.svg?style=plastic)](https://github.com/mvccore/ext-router-module-media-localization/releases)
[![Latest Stable Version](https://img.shields.io/badge/Stable-v5.0.1-brightgreen.svg?style=plastic)](https://github.com/mvccore/ext-router-module-media-localization/releases)
[![License](https://img.shields.io/badge/License-BSD%203-brightgreen.svg?style=plastic)](https://mvccore.github.io/docs/mvccore/5.0.0/LICENSE.md)
![PHP Version](https://img.shields.io/badge/PHP->=5.4-brightgreen.svg?style=plastic)

Expand Down Expand Up @@ -69,12 +69,12 @@ before application routing or any other extension configuration
using router for any purposes:

```php
$app = & \MvcCore\Application::GetInstance();
$app = \MvcCore\Application::GetInstance();
$app->SetRouterClass('\MvcCore\Ext\Routers\ModuleMediaAndLocalization');
...
// to get router instance for next configuration:
/** @var $router \MvcCore\Ext\Routers\ModuleMediaAndLocalization */
$router = & \MvcCore\Router::GetInstance();
$router = \MvcCore\Router::GetInstance();
```

All other specific usage and advanced configuration is the same as extensions bellow together:
Expand Down
2 changes: 1 addition & 1 deletion src/MvcCore/Ext/Routers/ModuleMediaAndLocalization.php
Expand Up @@ -80,7 +80,7 @@ class ModuleMediaAndLocalization
* Comparison by PHP function version_compare();
* @see http://php.net/manual/en/function.version-compare.php
*/
const VERSION = '5.0.0';
const VERSION = '5.0.1';

}

0 comments on commit 2087eee

Please sign in to comment.