Completed
Push — sf/composer-install-update ( a1e834 )
by Kiyotaka
10:44
created
src/Eccube/Controller/Admin/Order/MailController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      * @param MailService $mailService
57 57
      * @param MailHistoryRepository $mailHistoryRepository
58 58
      * @param OrderRepository $orderRepository
59
-     * @param twig $twig
59
+     * @param Environment $twig
60 60
      */
61 61
     public function __construct(
62 62
         MailService $mailService,
Please login to merge, or discard this patch.
src/Eccube/Service/PluginApiService.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     /**
104 104
      * Get a plugin
105 105
      *
106
-     * @param int|string $id Id or plugin code
106
+     * @param string $id Id or plugin code
107 107
      * @return array [$result, $info]
108 108
      */
109 109
     public function getPlugin($id)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
      */
109 109
     public function getPlugin($id)
110 110
     {
111
-        $url = $this->getApiUrl() . '/plugin/'.$id;
111
+        $url = $this->getApiUrl().'/plugin/'.$id;
112 112
 
113 113
         return $this->getRequestApi($url);
114 114
     }
Please login to merge, or discard this patch.
src/Eccube/EventListener/TwigInitializeListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
         $Member = $this->requestContext->getCurrentUser();
189 189
         if ($Member instanceof Member) {
190 190
             $AuthorityRoles = $this->authorityRoleRepository->findBy(['Authority' => $Member->getAuthority()]);
191
-            $baseUrl = $event->getRequest()->getBaseUrl() . '/' . $this->eccubeConfig['eccube_admin_route'];
191
+            $baseUrl = $event->getRequest()->getBaseUrl().'/'.$this->eccubeConfig['eccube_admin_route'];
192 192
             $eccubeNav = $this->getDisplayEccubeNav($eccubeNav, $AuthorityRoles, $baseUrl);
193 193
         }
194 194
         $this->twig->addGlobal('eccubeNav', $eccubeNav);
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
                 $param = array_key_exists('param', $childNav) ? $childNav['param'] : [];
220 220
                 $url = $this->router->generate($childNav['url'], $param);
221 221
                 foreach ($AuthorityRoles as $AuthorityRole) {
222
-                    $denyUrl = str_replace('/', '\/', $baseUrl . $AuthorityRole->getDenyUrl());
222
+                    $denyUrl = str_replace('/', '\/', $baseUrl.$AuthorityRole->getDenyUrl());
223 223
                     if (preg_match("/^({$denyUrl})/i", $url)) {
224 224
                         // 権限がないURLの場合は配列から削除
225 225
                         unset($parentNav[$key]);
Please login to merge, or discard this patch.