Skip to content

Commit

Permalink
CS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou committed Mar 5, 2019
1 parent 93ae9bb commit 645e45c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AdminUi/Component/EzInfoTwigComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private function replaceUrlPlaceholders(): array
$urls = $this->urlList;
foreach ($this->urlList as $urlName => $url) {
foreach ($this->ezSystemInfo as $attribute => $value) {
if (is_string($value) && strpos($url,'{ez.' . $attribute . '}') !== false) {
if (\is_string($value) && strpos($url,'{ez.' . $attribute . '}') !== false) {
$urls[$urlName] = str_replace('{ez.' . $attribute . '}', $value, $url);
}
}
Expand Down
2 changes: 1 addition & 1 deletion DependencyInjection/EzSystemsEzSupportToolsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function load(array $configs, ContainerBuilder $container)
private function isAdminUiBundleEnabled(ContainerBuilder $container)
{
return $container->hasParameter('kernel.bundles')
&& array_key_exists(
&& \array_key_exists(
'EzPlatformAdminUiBundle',
$container->getParameter('kernel.bundles')
);
Expand Down

0 comments on commit 645e45c

Please sign in to comment.