Skip to content

Commit

Permalink
Merge pull request #48 from moufmouf/10.0
Browse files Browse the repository at this point in the history
Fixing annotations namespace
  • Loading branch information
moufmouf committed Jul 19, 2018
2 parents bf1fe46 + 0e165ba commit 93f95b0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: php

php:
- 7.0
- 7.1
- 7.2

before_script:
- composer install --no-interaction
Expand Down
2 changes: 1 addition & 1 deletion src/Mouf/Mvc/Splash/Services/MoufExplorerUrlProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class MoufExplorerUrlProvider implements UrlProviderInterface
public function getUrlsList($instanceName)
{
$moufManager = MoufManager::getMoufManager();
$instanceNames = $moufManager->findInstances('Mouf\\Mvc\\Splash\\Services\\UrlProviderInterface');
$instanceNames = $moufManager->findInstances(UrlProviderInterface::class);

$urls = array();

Expand Down
10 changes: 5 additions & 5 deletions src/Mouf/Mvc/Splash/Services/SplashCreateControllerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ public function generate(MoufManager $moufManager, $controllerName, $instanceNam
?>
namespace <?= $namespace ?>;

use Mouf\Mvc\Splash\Annotations\Get;
use Mouf\Mvc\Splash\Annotations\Post;
use Mouf\Mvc\Splash\Annotations\Put;
use Mouf\Mvc\Splash\Annotations\Delete;
use Mouf\Mvc\Splash\Annotations\URL;
use TheCodingMachine\Splash\Annotations\Get;
use TheCodingMachine\Splash\Annotations\Post;
use TheCodingMachine\Splash\Annotations\Put;
use TheCodingMachine\Splash\Annotations\Delete;
use TheCodingMachine\Splash\Annotations\URL;
<?php if ($injectTemplate) {
?>
use Mouf\Html\Template\TemplateInterface;
Expand Down

0 comments on commit 93f95b0

Please sign in to comment.