@@ -103,8 +103,8 @@ |
||
103 | 103 | { |
104 | 104 | $api = $this->getMockBuilder(PermissionApiInterface::class) |
105 | 105 | ->getMock(); |
106 | - $api->method('hasPermission')->willReturnCallback(static function ($component = null, $instance = null, $level = ACCESS_NONE, $user = null) { |
|
107 | - list(/* $regId */ , $catId) = explode('::', $instance); |
|
106 | + $api->method('hasPermission')->willReturnCallback(static function($component = null, $instance = null, $level = ACCESS_NONE, $user = null) { |
|
107 | + list(/* $regId */, $catId) = explode('::', $instance); |
|
108 | 108 | |
109 | 109 | return 0 === $catId % 2; |
110 | 110 | }); |
@@ -107,7 +107,7 @@ |
||
107 | 107 | foreach ($blocks as $block) { |
108 | 108 | $bKey = $block['bkey']; |
109 | 109 | if (mb_strpos($bKey, ':')) { |
110 | - [/* $moduleName */ , $bKey] = explode(':', $bKey); |
|
110 | + [/* $moduleName */, $bKey] = explode(':', $bKey); |
|
111 | 111 | } |
112 | 112 | $this->entityManager->getConnection()->executeUpdate('UPDATE blocks SET bKey=? WHERE bid=?', [trim($bKey, '\\'), $block['bid']]); |
113 | 113 | } |