@@ -5,7 +5,6 @@ |
||
5 | 5 | use Doctrine\DBAL\Schema\Schema; |
6 | 6 | use Doctrine\DBAL\DBALException; |
7 | 7 | use Doctrine\DBAL\Schema\SchemaException; |
8 | - |
|
9 | 8 | use Oro\Bundle\EntityExtendBundle\Migration\Extension\ExtendExtension; |
10 | 9 | use Oro\Bundle\EntityExtendBundle\Migration\Extension\ExtendExtensionAwareInterface; |
11 | 10 | use Oro\Bundle\EntityExtendBundle\Migration\OroOptions; |
@@ -4,10 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | 6 | use Doctrine\Common\DataFixtures\DependentFixtureInterface; |
7 | - |
|
8 | 7 | use Symfony\Component\DependencyInjection\ContainerInterface; |
9 | 8 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
10 | - |
|
11 | 9 | use Oro\Bundle\UserBundle\Migrations\Data\ORM\LoadAdminUserData; |
12 | 10 | use Oro\Bundle\CommentBundle\Entity\Comment; |
13 | 11 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\UnitOfWork; |
6 | 6 | use Doctrine\ORM\Event\PreUpdateEventArgs; |
7 | - |
|
8 | 7 | use Oro\Bundle\CommentBundle\EventListener\CommentLifecycleListener; |
9 | 8 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
10 | 9 | use Oro\Bundle\CommentBundle\Entity\Comment; |
@@ -21,6 +21,9 @@ |
||
21 | 21 | $this->configProvider = $configProvider; |
22 | 22 | } |
23 | 23 | |
24 | + /** |
|
25 | + * @param string $scope |
|
26 | + */ |
|
24 | 27 | public function addConfigManager($scope, $manager) |
25 | 28 | { |
26 | 29 | $this->configManagers[$scope] = $manager; |
@@ -3,18 +3,13 @@ |
||
3 | 3 | namespace Oro\Bundle\ConfigBundle\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use Symfony\Component\HttpFoundation\Response; |
6 | - |
|
7 | 6 | use FOS\RestBundle\Util\Codes; |
8 | 7 | use FOS\RestBundle\Controller\FOSRestController; |
9 | - |
|
10 | 8 | use FOS\RestBundle\Controller\Annotations\Get; |
11 | 9 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
12 | 10 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
13 | - |
|
14 | 11 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
15 | - |
|
16 | 12 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
17 | - |
|
18 | 13 | use Oro\Bundle\ConfigBundle\Exception\ItemNotFoundException; |
19 | 14 | |
20 | 15 | /** |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace Oro\Bundle\ConfigBundle\Controller; |
4 | 4 | |
5 | 5 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
6 | - |
|
7 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
9 | - |
|
10 | 8 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
11 | 9 | |
12 | 10 | class ConfigurationController extends Controller |
@@ -119,7 +119,7 @@ |
||
119 | 119 | } |
120 | 120 | |
121 | 121 | /** |
122 | - * @param $values |
|
122 | + * @param ArrayCollection $values |
|
123 | 123 | * |
124 | 124 | * @return $this |
125 | 125 | */ |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Form\FormBuilderInterface; |
6 | 6 | use Symfony\Component\Form\FormFactoryInterface; |
7 | - |
|
8 | 7 | use Oro\Bundle\ConfigBundle\Utils\TreeUtils; |
9 | 8 | use Oro\Bundle\ConfigBundle\Config\ConfigBag; |
10 | 9 | use Oro\Bundle\ConfigBundle\Config\ConfigManager; |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | const URL = '/config/system/platform/language_settings'; |
15 | 15 | |
16 | 16 | /** |
17 | - * @param $language string |
|
17 | + * @param string $language string |
|
18 | 18 | * @return $this |
19 | 19 | */ |
20 | 20 | public function download($language) |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | } |
34 | 34 | |
35 | 35 | /** |
36 | - * @param $language string |
|
36 | + * @param string $language string |
|
37 | 37 | * @return $this |
38 | 38 | */ |
39 | 39 | public function enable($language) |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
55 | - * @param $language string |
|
55 | + * @param string $language string |
|
56 | 56 | * @return $this |
57 | 57 | */ |
58 | 58 | public function disable($language) |