Completed
Push — master ( 1ea199...e6fa6f )
by Marc
03:05
created
core/console/commands/HealthController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * Create all required directories an check whether they are writeable or not.
37 37
      *
38
-     * @return string The action output.
38
+     * @return integer The action output.
39 39
      */
40 40
     public function actionIndex()
41 41
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * Test Mail-Component (Use --verbose=1 to enable smtp debug output)
88 88
      *
89
-     * @return boolean Whether successfull or not.
89
+     * @return integer|null Whether successfull or not.
90 90
      * @throws \Exception On smtp failure
91 91
      */
92 92
     public function actionMailer()
Please login to merge, or discard this patch.
core/helpers/StringHelper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      * @param string $search Search string to look for.
112 112
      * @param string $replace Replacement value for the first found occurrence.
113 113
      * @param string $subject The string you want to look up to replace the first element.
114
-     * @return mixed Replaced string
114
+     * @return string Replaced string
115 115
      */
116 116
     public static function replaceFirst($search, $replace, $subject)
117 117
     {
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      * @param string $content The content to minify.
165 165
      * @param array $options Optional arguments to provide for minification:
166 166
      * - comments: boolean, where html comments should be removed or not. defaults to false
167
-     * @return mixed Returns the minified content.
167
+     * @return string Returns the minified content.
168 168
      * @since 1.0.7
169 169
      */
170 170
     public static function minify($content, array $options = [])
Please login to merge, or discard this patch.
core/helpers/ArrayHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      * ```
54 54
      *
55 55
      * @param array $data The input data to cover given sensitive key values. `['username' => 'foo', 'password' => 'bar']`.
56
-     * @param array $key The keys which can contain sensitive data inside the $data array. `['password', 'pwd', 'pass']` if no keys provided the {{luya\helpers\ArrayHelper::$sensitiveDefaultKeys}} is used.
56
+     * @param array $keys The keys which can contain sensitive data inside the $data array. `['password', 'pwd', 'pass']` if no keys provided the {{luya\helpers\ArrayHelper::$sensitiveDefaultKeys}} is used.
57 57
      * @since 1.0.6
58 58
      */
59 59
     public static function coverSensitiveValues(array $data, array $keys = [])
Please login to merge, or discard this patch.
core/web/jsonld/CreativeWorkTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -693,7 +693,7 @@  discard block
 block discarded – undo
693 693
     /**
694 694
      * The purpose of a work in the context of education; for example, 'assignment', 'group work'.
695 695
      *
696
-     * @param string $educationalUse
696
+     * @param CreativeWork $educationalUse
697 697
      * @return static
698 698
      */
699 699
     public function setEducationalUse(CreativeWork $educationalUse)
@@ -1229,7 +1229,7 @@  discard block
 block discarded – undo
1229 1229
      * While such policies are most typically expressed in natural language, sometimes related information
1230 1230
      * (e.g. indicating a funder) can be expressed using schema.org terminology.
1231 1231
      *
1232
-     * @param CreativeWork|URL $publishingPrinciples
1232
+     * @param CreativeWork $publishingPrinciples
1233 1233
      * @return static
1234 1234
      */
1235 1235
     public function setPublishingPrinciples(CreativeWork $publishingPrinciples)
Please login to merge, or discard this patch.
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/jsonld/PersonTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Physical address of the item.
51 51
      *
52
-     * @param PostalAddress|string $address
52
+     * @param PostalAddress $address
53 53
      * @return static
54 54
      */
55 55
     public function setAddress(PostalAddress $address)
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
     /**
297 297
      * The Dun & Bradstreet DUNS number for identifying an organization or business person.
298 298
      *
299
-     * @param string $duns
299
+     * @param Person $duns
300 300
      * @return static
301 301
      */
302 302
     public function setDuns(Person $duns)
Please login to merge, or discard this patch.