Completed
Pull Request — 5.3 (#2634)
by Jeroen
07:05
created
src/Kunstmaan/FormBundle/AdminList/FormPageAdminListConfigurator.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Return the url to edit the given $item
78 78
      *
79
-     * @param mixed $item
79
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
80 80
      *
81 81
      * @return array
82 82
      */
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      *
119 119
      * @param array $params
120 120
      *
121
-     * @return array
121
+     * @return string
122 122
      */
123 123
     public function getAddUrlFor(array $params = array())
124 124
     {
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     /**
129 129
      * Configure if it's possible to delete the given $item
130 130
      *
131
-     * @param mixed $item
131
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
132 132
      *
133 133
      * @return bool
134 134
      */
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     /**
141 141
      * Get the delete url for the given $item
142 142
      *
143
-     * @param mixed $item
143
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
144 144
      *
145 145
      * @return array
146 146
      */
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/AdminList/FormSubmissionAdminListConfigurator.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     /**
82 82
      * Return the url to edit the given $item
83 83
      *
84
-     * @param mixed $item
84
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
85 85
      *
86 86
      * @return array
87 87
      */
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     /**
132 132
      * Configure if it's possible to delete the given $item
133 133
      *
134
-     * @param mixed $item
134
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
135 135
      *
136 136
      * @return bool
137 137
      */
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     /**
154 154
      * Get the delete url for the given $item
155 155
      *
156
-     * @param mixed $item
156
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
157 157
      *
158 158
      * @return array
159 159
      */
Please login to merge, or discard this patch.
FormBundle/Tests/unit/AdminList/FormPageAdminListConfiguratorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @return \Doctrine\ORM\EntityManager
42
+     * @return \PHPUnit\Framework\MockObject\MockObject
43 43
      */
44 44
     protected function getMockedEntityManager()
45 45
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Tests/unit/Helper/Menu/ActionsMenuBuilderTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     /**
51 51
      * @throws \Exception
52 52
      *
53
-     * @return \Doctrine\ORM\EntityManager
53
+     * @return \PHPUnit\Framework\MockObject\MockObject
54 54
      */
55 55
     protected function getMockedEntityManager()
56 56
     {
Please login to merge, or discard this patch.
TranslatorBundle/Service/Command/Exporter/ExportCommandHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
     }
166 166
 
167 167
     /**
168
-     * @param $translationRepository
168
+     * @param \PHPUnit\Framework\MockObject\MockObject $translationRepository
169 169
      */
170 170
     public function setTranslationRepository($translationRepository)
171 171
     {
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Service/Translator/CacheValidator.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * Retrieve a Datetime of the oldest cache file made
50 50
      *
51
-     * @return DateTime mtime of oldest cache file
51
+     * @return null|\DateTime mtime of oldest cache file
52 52
      */
53 53
     public function getOldestCachefileDate()
54 54
     {
@@ -72,6 +72,9 @@  discard block
 block discarded – undo
72 72
         return null;
73 73
     }
74 74
 
75
+    /**
76
+     * @param string $cacheDir
77
+     */
75 78
     public function setCacheDir($cacheDir)
76 79
     {
77 80
         $this->cacheDir = $cacheDir;
@@ -82,6 +85,9 @@  discard block
 block discarded – undo
82 85
         $this->logger = $logger;
83 86
     }
84 87
 
88
+    /**
89
+     * @param \PHPUnit\Framework\MockObject\MockObject $translationRepository
90
+     */
85 91
     public function setTranslationRepository($translationRepository)
86 92
     {
87 93
         $this->translationRepository = $translationRepository;
Please login to merge, or discard this patch.
FormBundle/Tests/unit/AdminList/FormSubmissionAdminListConfiguratorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @return \Doctrine\ORM\EntityManager
42
+     * @return \PHPUnit\Framework\MockObject\MockObject
43 43
      */
44 44
     protected function getMockedEntityManager()
45 45
     {
Please login to merge, or discard this patch.
Tests/unit/AdminList/FormSubmissionExportListConfiguratorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @return \Doctrine\ORM\EntityManager
42
+     * @return \PHPUnit\Framework\MockObject\MockObject
43 43
      */
44 44
     protected function getMockedEntityManager()
45 45
     {
Please login to merge, or discard this patch.
TranslatorBundle/Service/Command/Importer/ImportCommandHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -258,6 +258,9 @@
 block discarded – undo
258 258
         $this->importer = $importer;
259 259
     }
260 260
 
261
+    /**
262
+     * @param ImportCommand $importCommand
263
+     */
261 264
     private function importSf4TranslationFiles($importCommand)
262 265
     {
263 266
         $finder = $this->translationFileExplorer->find($this->kernel->getProjectDir(), $this->determineLocalesToImport($importCommand), 'translations');
Please login to merge, or discard this patch.