Completed
Pull Request — master (#3527)
by Craig
10:00
created
src/system/PermissionsModule/Api/PermissionApi.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -324,7 +324,7 @@
 block discarded – undo
324 324
      * Set permissions for user to false, forcing a reload if called upon again.
325 325
      * @api Core-2.0
326 326
      *
327
-     * @param $uid
327
+     * @param integer $uid
328 328
      */
329 329
     public function resetPermissionsForUser($uid)
330 330
     {
Please login to merge, or discard this patch.
src/system/ThemeModule/EventListener/CreateThemedResponseListener.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -108,6 +108,9 @@
 block discarded – undo
108 108
         $response->setContent($content);
109 109
     }
110 110
 
111
+    /**
112
+     * @param string $search
113
+     */
111 114
     private function readdUntrimmedBlocks($search, $replace, &$subject)
112 115
     {
113 116
         $len = strlen($search);
Please login to merge, or discard this patch.
src/system/UsersModule/Controller/AccessController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
     /**
135 135
      * @param UserEntity $user
136 136
      * @param $selectedMethod
137
-     * @param $returnUrl
137
+     * @param string $returnUrl
138 138
      * @return mixed
139 139
      */
140 140
     private function dispatchLoginSuccessEvent(UserEntity $user, $selectedMethod, $returnUrl)
Please login to merge, or discard this patch.
src/system/RoutesModule/Form/Type/Base/AbstractRouteType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -413,7 +413,7 @@
 block discarded – undo
413 413
             ->setDefaults([
414 414
                 // define class for underlying data (required for embedding forms)
415 415
                 'data_class' => 'Zikula\RoutesModule\Entity\RouteEntity',
416
-                'empty_data' => function (FormInterface $form) {
416
+                'empty_data' => function(FormInterface $form) {
417 417
                     return $this->entityFactory->createRoute();
418 418
                 },
419 419
                 'error_mapping' => [
Please login to merge, or discard this patch.
src/system/CategoriesModule/Entity/CategoryEntity.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -383,7 +383,7 @@
 block discarded – undo
383 383
 
384 384
     /**
385 385
      * get the category display name
386
-     * @param $lang
386
+     * @param string $lang
387 387
      *
388 388
      * @return array the category display name
389 389
      */
Please login to merge, or discard this patch.
src/system/CategoriesModule/Tests/Form/Type/CategoriesTypeTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -385,6 +385,9 @@  discard block
 block discarded – undo
385 385
         }
386 386
     }
387 387
 
388
+    /**
389
+     * @param string $name
390
+     */
388 391
     protected function createRegistryMock($name, $em)
389 392
     {
390 393
         $registry = $this->getMockBuilder(ManagerRegistry::class)->getMock();
@@ -396,6 +399,9 @@  discard block
 block discarded – undo
396 399
         return $registry;
397 400
     }
398 401
 
402
+    /**
403
+     * @param \DateTime $now
404
+     */
399 405
     protected function generateCategoryRegistry($now)
400 406
     {
401 407
         $registry = new CategoryRegistryEntity();
@@ -411,6 +417,9 @@  discard block
 block discarded – undo
411 417
         $this->em->flush();
412 418
     }
413 419
 
420
+    /**
421
+     * @param \DateTime $now
422
+     */
414 423
     protected function generateCategories($now)
415 424
     {
416 425
         // root
Please login to merge, or discard this patch.
src/system/RoutesModule/Helper/Base/AbstractViewHelper.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -256,9 +256,9 @@
 block discarded – undo
256 256
         $siteName = $this->variableApi->getSystemVar('sitename');
257 257
         $pageTitle = $this->controllerHelper->formatPermalink($this->themePageVars->get('title', ''));
258 258
         $fileTitle = $this->controllerHelper->formatPermalink($siteName)
259
-                   . '-'
260
-                   . ($pageTitle != '' ? $pageTitle . '-' : '')
261
-                   . date('Ymd') . '.pdf';
259
+                    . '-'
260
+                    . ($pageTitle != '' ? $pageTitle . '-' : '')
261
+                    . date('Ymd') . '.pdf';
262 262
     
263 263
         /*
264 264
         if (true === $this->request->query->getBoolean('dbg', false)) {
Please login to merge, or discard this patch.
src/system/RoutesModule/Helper/Base/AbstractWorkflowHelper.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -93,31 +93,31 @@
 block discarded – undo
93 93
     }
94 94
 
95 95
     /**
96
-      * This method returns a list of possible object states.
97
-      *
98
-      * @return array List of collected state information
99
-      */
100
-     public function getObjectStates()
101
-     {
102
-         $states = [];
103
-         $states[] = [
104
-             'value' => 'initial',
105
-             'text' => $this->translator->__('Initial'),
106
-             'ui' => 'danger'
107
-         ];
108
-         $states[] = [
109
-             'value' => 'approved',
110
-             'text' => $this->translator->__('Approved'),
111
-             'ui' => 'success'
112
-         ];
113
-         $states[] = [
114
-             'value' => 'deleted',
115
-             'text' => $this->translator->__('Deleted'),
116
-             'ui' => 'danger'
117
-         ];
96
+     * This method returns a list of possible object states.
97
+     *
98
+     * @return array List of collected state information
99
+     */
100
+        public function getObjectStates()
101
+        {
102
+            $states = [];
103
+            $states[] = [
104
+                'value' => 'initial',
105
+                'text' => $this->translator->__('Initial'),
106
+                'ui' => 'danger'
107
+            ];
108
+            $states[] = [
109
+                'value' => 'approved',
110
+                'text' => $this->translator->__('Approved'),
111
+                'ui' => 'success'
112
+            ];
113
+            $states[] = [
114
+                'value' => 'deleted',
115
+                'text' => $this->translator->__('Deleted'),
116
+                'ui' => 'danger'
117
+            ];
118 118
     
119
-         return $states;
120
-     }
119
+            return $states;
120
+        }
121 121
     
122 122
     /**
123 123
      * This method returns information about a certain state.
Please login to merge, or discard this patch.
system/CategoriesModule/DependencyInjection/ZikulaCategoriesExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function load(array $configs, ContainerBuilder $container)
28 28
     {
29
-        $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__.'/../Resources/config')));
29
+        $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__ . '/../Resources/config')));
30 30
 
31 31
         $loader->load('services.yml');
32 32
         $loader->load('helpers.yml');
Please login to merge, or discard this patch.