@@ -11,11 +11,11 @@ discard block |
||
11 | 11 | */ |
12 | 12 | private $container; |
13 | 13 | |
14 | - /** |
|
15 | - * Globals constructor. |
|
16 | - * @param ContainerInterface $container |
|
17 | - */ |
|
18 | - public function __construct(ContainerInterface $container) |
|
14 | + /** |
|
15 | + * Globals constructor. |
|
16 | + * @param ContainerInterface $container |
|
17 | + */ |
|
18 | + public function __construct(ContainerInterface $container) |
|
19 | 19 | { |
20 | 20 | $this->container = $container; |
21 | 21 | } |
@@ -38,18 +38,18 @@ discard block |
||
38 | 38 | return $package_name; |
39 | 39 | } |
40 | 40 | |
41 | - /** |
|
42 | - * this method send base bundle path related to ribs-admin |
|
43 | - * @param string|null $package |
|
44 | - * @param bool $dev_mode |
|
45 | - * @return string |
|
46 | - */ |
|
41 | + /** |
|
42 | + * this method send base bundle path related to ribs-admin |
|
43 | + * @param string|null $package |
|
44 | + * @param bool $dev_mode |
|
45 | + * @return string |
|
46 | + */ |
|
47 | 47 | public function getBaseBundlePath(string $package = "piou-piou/ribs-admin-bundle", bool $dev_mode = false): string |
48 | 48 | { |
49 | 49 | $path = explode("/", __DIR__); |
50 | 50 | array_pop($path); |
51 | 51 | |
52 | - $dev_mode = $package === "piou-piou/ribs-admin-bundle" ? $this->container->getParameter("ribs_admin")["dev_mode"] : $dev_mode; |
|
52 | + $dev_mode = $package === "piou-piou/ribs-admin-bundle" ? $this->container->getParameter("ribs_admin")["dev_mode"] : $dev_mode; |
|
53 | 53 | |
54 | 54 | if ($dev_mode === true) { |
55 | 55 | $package = "lib/".$this->getPackageDevName($package); |