@@ -331,7 +331,7 @@ |
||
| 331 | 331 | } |
| 332 | 332 | |
| 333 | 333 | /** |
| 334 | - * @param $requiredRole |
|
| 334 | + * @param string $requiredRole |
|
| 335 | 335 | */ |
| 336 | 336 | public function assertRole($requiredRole) |
| 337 | 337 | { |
@@ -210,6 +210,9 @@ discard block |
||
| 210 | 210 | } |
| 211 | 211 | } |
| 212 | 212 | |
| 213 | + /** |
|
| 214 | + * @param string $performerName |
|
| 215 | + */ |
|
| 213 | 216 | public function getPerformerIdByName($performerName, $createMissing = false) |
| 214 | 217 | { |
| 215 | 218 | $conn = $this->getDbConn(); |
@@ -582,7 +585,7 @@ discard block |
||
| 582 | 585 | /** |
| 583 | 586 | * Return SQL in appropriate dialect to concatenate the listed values |
| 584 | 587 | * |
| 585 | - * @param array $fields |
|
| 588 | + * @param string[] $fields |
|
| 586 | 589 | * |
| 587 | 590 | * @return string |
| 588 | 591 | */ |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | * @param $title |
| 25 | 25 | * @param $songId |
| 26 | 26 | * |
| 27 | - * @return int|false |
|
| 27 | + * @return string|false |
|
| 28 | 28 | */ |
| 29 | 29 | public function storeNewTicket($title, $songId) |
| 30 | 30 | { |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * @param $performerName |
| 49 | 49 | * @param bool|false $createMissing |
| 50 | 50 | * |
| 51 | - * @return mixed |
|
| 51 | + * @return string|boolean |
|
| 52 | 52 | */ |
| 53 | 53 | public function getPerformerIdByName($performerName, $createMissing = false) |
| 54 | 54 | { |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | * Adds a mandatory requirement in form of a php.ini configuration. |
| 224 | 224 | * |
| 225 | 225 | * @param string $cfgName The configuration name used for ini_get() |
| 226 | - * @param bool|callback $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
| 226 | + * @param boolean|string $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
| 227 | 227 | * or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement |
| 228 | 228 | * @param bool $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false. |
| 229 | 229 | * This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin. |
@@ -241,7 +241,7 @@ discard block |
||
| 241 | 241 | * Adds an optional recommendation in form of a php.ini configuration. |
| 242 | 242 | * |
| 243 | 243 | * @param string $cfgName The configuration name used for ini_get() |
| 244 | - * @param bool|callback $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
| 244 | + * @param string|false $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
| 245 | 245 | * or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement |
| 246 | 246 | * @param bool $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false. |
| 247 | 247 | * This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin. |