@@ -94,7 +94,7 @@ |
||
| 94 | 94 | protected function getSolrFieldName($baseName) |
| 95 | 95 | { |
| 96 | 96 | return $this->getLegacyKernel()->runCallback( |
| 97 | - function () use ($baseName) { |
|
| 97 | + function() use ($baseName) { |
|
| 98 | 98 | return \eZSolr::getFieldName($baseName, false, 'facet'); |
| 99 | 99 | }, |
| 100 | 100 | false |
@@ -17,12 +17,12 @@ discard block |
||
| 17 | 17 | { |
| 18 | 18 | protected $isCli = false; |
| 19 | 19 | |
| 20 | - public function setCLiMode($isCli=true) |
|
| 20 | + public function setCLiMode($isCli = true) |
|
| 21 | 21 | { |
| 22 | 22 | $this->isCli = $isCli; |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | - public function buildLegacyKernel($legacyKernelHandlerWeb, $legacyKernelHandlerCli=null) |
|
| 25 | + public function buildLegacyKernel($legacyKernelHandlerWeb, $legacyKernelHandlerCli = null) |
|
| 26 | 26 | { |
| 27 | 27 | $legacyRootDir = $this->legacyRootDir; |
| 28 | 28 | $webrootDir = $this->webrootDir; |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | $logger = $this->logger; |
| 31 | 31 | $that = $this; |
| 32 | 32 | |
| 33 | - return function () use ($legacyKernelHandlerWeb, $legacyKernelHandlerCli, $legacyRootDir, $webrootDir, $eventDispatcher, $logger, $that) { |
|
| 33 | + return function() use ($legacyKernelHandlerWeb, $legacyKernelHandlerCli, $legacyRootDir, $webrootDir, $eventDispatcher, $logger, $that) { |
|
| 34 | 34 | if (LegacyKernel::hasInstance()) { |
| 35 | 35 | return LegacyKernel::instance(); |
| 36 | 36 | } |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | $container = $this->container; |
| 65 | 65 | $that = $this; |
| 66 | 66 | |
| 67 | - return function () use ($legacyRootDir, $container, $eventDispatcher, $that) { |
|
| 67 | + return function() use ($legacyRootDir, $container, $eventDispatcher, $that) { |
|
| 68 | 68 | if (!$that->getCLIHandler()) { |
| 69 | 69 | $currentDir = getcwd(); |
| 70 | 70 | chdir($legacyRootDir); |