Completed
Pull Request — 2.0 (#1033)
by Rafał
10:19
created
src/SWP/Bundle/CoreBundle/Controller/AuthController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -228,6 +228,9 @@
 block discarded – undo
228 228
         ]);
229 229
     }
230 230
 
231
+    /**
232
+     * @param null|string $token
233
+     */
231 234
     private function generateOrGetApiKey(UserInterface $user, $token): ?ApiKeyInterface
232 235
     {
233 236
         $apiKey = null;
Please login to merge, or discard this patch.
Bundle/CoreBundle/Theme/Locator/TenantThemesConfigurationFileLocator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -44,6 +44,9 @@
 block discarded – undo
44 44
         return iterator_to_array($this->doLocateFilesNamed($name));
45 45
     }
46 46
 
47
+    /**
48
+     * @param string $name
49
+     */
47 50
     private function doLocateFilesNamed($name)
48 51
     {
49 52
         $this->assertNameIsNotEmpty($name);
Please login to merge, or discard this patch.
src/SWP/Component/TemplatesSystem/Gimme/Event/MetaEvent.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
         $this->propertyName = $propertyName;
33 33
     }
34 34
 
35
+    /**
36
+     * @return \SWP\Bundle\CoreBundle\Model\ArticleInterface
37
+     */
35 38
     public function getData()
36 39
     {
37 40
         return $this->data;
Please login to merge, or discard this patch.
SWP/Bundle/StorageBundle/EventListener/ORMMappedSuperclassSubscriber.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,6 +73,9 @@  discard block
 block discarded – undo
73 73
         }
74 74
     }
75 75
 
76
+    /**
77
+     * @param string $className
78
+     */
76 79
     private function getResourceByClass($className)
77 80
     {
78 81
         foreach ($this->resources as $resource) {
@@ -86,7 +89,7 @@  discard block
 block discarded – undo
86 89
 
87 90
     /**
88 91
      * @param ClassMetadataInfo $metadata
89
-     * @param $configuration
92
+     * @param \Doctrine\ORM\Configuration $configuration
90 93
      */
91 94
     private function setAssociationMappings(ClassMetadataInfo $metadata, $configuration)
92 95
     {
Please login to merge, or discard this patch.