Failed Conditions
Pull Request — 4.0 (#4528)
by Kentaro
09:58
created
src/Eccube/Controller/AbstractController.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -112,6 +112,9 @@  discard block
 block discarded – undo
112 112
         $this->eventDispatcher = $eventDispatcher;
113 113
     }
114 114
 
115
+    /**
116
+     * @param string $message
117
+     */
115 118
     public function addSuccess($message, $namespace = 'front')
116 119
     {
117 120
         $this->session->getFlashBag()->add('eccube.'.$namespace.'.success', $message);
@@ -122,6 +125,9 @@  discard block
 block discarded – undo
122 125
         $this->session->getFlashBag()->add('eccube.'.$namespace.'.error', $message);
123 126
     }
124 127
 
128
+    /**
129
+     * @param string $message
130
+     */
125 131
     public function addDanger($message, $namespace = 'front')
126 132
     {
127 133
         $this->session->getFlashBag()->add('eccube.'.$namespace.'.danger', $message);
@@ -132,6 +138,9 @@  discard block
 block discarded – undo
132 138
         $this->session->getFlashBag()->add('eccube.'.$namespace.'.warning', $message);
133 139
     }
134 140
 
141
+    /**
142
+     * @param string $message
143
+     */
135 144
     public function addInfo($message, $namespace = 'front')
136 145
     {
137 146
         $this->session->getFlashBag()->add('eccube.'.$namespace.'.info', $message);
Please login to merge, or discard this patch.
src/Eccube/Resource/functions/log.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@  discard block
 block discarded – undo
37 37
     $logger->error($message, $context);
38 38
 }
39 39
 
40
+/**
41
+ * @param string $message
42
+ */
40 43
 function log_warning($message, array $context = [])
41 44
 {
42 45
     $logger = LoggerFacade::create();
@@ -55,6 +58,9 @@  discard block
 block discarded – undo
55 58
     $logger->info($message, $context);
56 59
 }
57 60
 
61
+/**
62
+ * @param string $message
63
+ */
58 64
 function log_debug($message, array $context = [])
59 65
 {
60 66
     $logger = LoggerFacade::create();
Please login to merge, or discard this patch.
src/Eccube/Controller/EntryController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -275,7 +275,7 @@
 block discarded – undo
275 275
      *
276 276
      * @param Request $request
277 277
      * @param $secret_key
278
-     * @return \Eccube\Entity\Cart|mixed
278
+     * @return integer
279 279
      */
280 280
     private function entryActivate(Request $request, $secret_key)
281 281
     {
Please login to merge, or discard this patch.
src/Eccube/EventListener/TwigInitializeListener.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,6 @@
 block discarded – undo
115 115
      * @param AuthorityRoleRepository $authorityRoleRepository
116 116
      * @param EccubeConfig $eccubeConfig
117 117
      * @param Context $context
118
-     * @param MobileDetector $mobileDetector
119 118
      * @param UrlGeneratorInterface $router
120 119
      * @param LayoutRepository $layoutRepository
121 120
      */
Please login to merge, or discard this patch.