@@ -35,7 +35,7 @@ discard block |
||
| 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 |
||
| 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() |
@@ -111,7 +111,7 @@ discard block |
||
| 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 |
||
| 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 = []) |
@@ -53,7 +53,7 @@ |
||
| 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 = []) |
@@ -693,7 +693,7 @@ discard block |
||
| 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 |
||
| 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) |
@@ -169,7 +169,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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) |
@@ -49,7 +49,7 @@ discard block |
||
| 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 |
||
| 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) |