Completed
Pull Request — master (#2042)
by Marc
02:11
created
core/web/jsonld/EventTrait.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
     /**
170 170
      * The time admission will commence.
171 171
      *
172
-     * @param DateTime $doorTime
172
+     * @param DateTimeValue $doorTime
173 173
      * @return static
174 174
      */
175 175
     public function setDoorTime(DateTimeValue $doorTime)
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
     /**
192 192
      * The duration of the item (movie, audio recording, event, etc.) in ISO 8601 date format.
193 193
      *
194
-     * @param Duration $duration
194
+     * @param DurationValue $duration
195 195
      * @return static
196 196
      */
197 197
     public function setDuration(DurationValue $duration)
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     /**
214 214
      * The end date and time of the item (in ISO 8601 date format).
215 215
      *
216
-     * @param Date|DateTime $endDate
216
+     * @param DateTimeValue $endDate
217 217
      * @return static
218 218
      */
219 219
     public function setEndDate(DateTimeValue $endDate)
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
      * Please use one of the language codes from the IETF BCP 47 standard. See also availableLanguage.
262 262
      * Supersedes language.
263 263
      *
264
-     * @param Language|Text $inLanguage
264
+     * @param LanguageValue $inLanguage
265 265
      * @return static
266 266
      */
267 267
     public function setInLanguage(LanguageValue $inLanguage)
Please login to merge, or discard this patch.
core/web/EmailLink.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     /**
50 50
      * Getter method for the e-mail.
51 51
      *
52
-     * @return string|boolean Returns the e-mail from the setter method, if mail is not valid false is returned.
52
+     * @return string|false Returns the e-mail from the setter method, if mail is not valid false is returned.
53 53
      */
54 54
     public function getEmail()
55 55
     {
Please login to merge, or discard this patch.
core/TagParser.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -116,6 +116,7 @@
 block discarded – undo
116 116
     
117 117
     /**
118 118
      * Internal method to add a tag into the tags array.
119
+     * @param string $identifier
119 120
      */
120 121
     private function addTag($identifier, $tagObjectConfig)
121 122
     {
Please login to merge, or discard this patch.
core/helpers/FileHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@
 block discarded – undo
179 179
      * will auto alias encode by Yii::getAlias function.
180 180
      *
181 181
      * @param string $fileName The path to the file to get the content
182
-     * @return string|boolean
182
+     * @return string|false
183 183
      */
184 184
     public static function getFileContent($fileName)
185 185
     {
Please login to merge, or discard this patch.
core/traits/ErrorHandlerTrait.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      *
68 68
      * @param string $message The message you want to send to the error api server.
69 69
      * @param string $file The you are currently send the message (use __FILE__)
70
-     * @param string $line The line you want to submit (use __LINE__)
70
+     * @param integer $line The line you want to submit (use __LINE__)
71 71
      * @return bool|null
72 72
      */
73 73
     public function transferMessage($message, $file = __FILE__, $line = __LINE__)
@@ -105,6 +105,7 @@  discard block
 block discarded – undo
105 105
     
106 106
     /**
107 107
      * @inheritdoc
108
+     * @param \Exception $exception
108 109
      */
109 110
     public function renderException($exception)
110 111
     {
Please login to merge, or discard this patch.
core/Config.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
      *
189 189
      * @param string $id The id of the component
190 190
      * @param string|array $config The configuration for the given module. If a string is given this will be taken as `class` property.
191
-     * @param string $runtime The runtime for the component: all, web or console
191
+     * @param integer $runtime The runtime for the component: all, web or console
192 192
      * @return ConfigDefinition
193 193
      */
194 194
     public function component($id, $config, $runtime = self::RUNTIME_ALL)
Please login to merge, or discard this patch.
core/helpers/ExportHelper.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      * @param array|QueryInterface $input
38 38
      * @param array $keys Defines which keys should be packed into the generated xlsx. The defined keys does not change the sort behavior of the generated xls.
39 39
      * @param bool $header
40
-     * @return mixed
40
+     * @return string
41 41
      * @throws Exception
42 42
      * @since 1.0.4
43 43
      */
@@ -73,7 +73,6 @@  discard block
 block discarded – undo
73 73
      * Generate content by rows.
74 74
      *
75 75
      * @param array $contentRows
76
-     * @param string $delimiter
77 76
      * @param array $keys
78 77
      * @param bool $generateHeader
79 78
      * @return array
Please login to merge, or discard this patch.
core/console/Controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      * If a message is not a string, it will return var export to generate
47 47
      * a returnable string from a message.
48 48
      *
49
-     * @param mixed $message
49
+     * @param string $message
50 50
      * @return string
51 51
      * @since 1.0.22
52 52
      */
Please login to merge, or discard this patch.
core/console/commands/ThemeController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     }
145 145
     
146 146
     /**
147
-     * @param $themeName
147
+     * @param string $themeName
148 148
      *
149 149
      * @return string
150 150
      */
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
     }
166 166
     
167 167
     /**
168
-     * @param $themeName
168
+     * @param string $themeName
169 169
      *
170 170
      * @return string
171 171
      */
Please login to merge, or discard this patch.