@@ -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. |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | $settingsForm->handleRequest($request); |
| 110 | 110 | |
| 111 | 111 | /** |
| 112 | - * @noinspection PhpUndefinedMethodInspection |
|
| 112 | + * @noinspection PhpUndefinedMethodInspection |
|
| 113 | 113 | */ // isClicked on Submit |
| 114 | 114 | if ($settingsForm->isSubmitted() |
| 115 | 115 | && $settingsForm->isValid() |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | $resetForm->handleRequest($request); |
| 139 | 139 | |
| 140 | 140 | /** |
| 141 | - * @noinspection PhpUndefinedMethodInspection |
|
| 141 | + * @noinspection PhpUndefinedMethodInspection |
|
| 142 | 142 | */ // isClicked on Submit |
| 143 | 143 | if ($resetForm->isSubmitted() |
| 144 | 144 | && $resetForm->isValid() |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | $songListForm->handleRequest($request); |
| 170 | 170 | |
| 171 | 171 | /** |
| 172 | - * @noinspection PhpUndefinedMethodInspection |
|
| 172 | + * @noinspection PhpUndefinedMethodInspection |
|
| 173 | 173 | */ // isClicked on Submit |
| 174 | 174 | if ($songListForm->isSubmitted() |
| 175 | 175 | && $songListForm->isValid() |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | |
| 180 | 180 | $file = $data['songListFile']; |
| 181 | 181 | /** |
| 182 | - * @var UploadedFile $file |
|
| 182 | + * @var UploadedFile $file |
|
| 183 | 183 | */ |
| 184 | 184 | |
| 185 | 185 | $loader = new SongLoader(); |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | //$protocol = $_SERVER['HTTPS'] ? 'https' : 'http'; |
| 33 | 33 | $protocol = 'http'; // $_SERVER['HTTPS'] ? 'https' : 'http'; |
| 34 | 34 | /** |
| 35 | - * @noinspection RealpathInSteamContextInspection |
|
| 35 | + * @noinspection RealpathInSteamContextInspection |
|
| 36 | 36 | */ |
| 37 | 37 | $viewParams = [ |
| 38 | 38 | //'serverInfo' => $protocol . '://' . $_SERVER['SERVER_ADDR'] . ':' . $_SERVER['SERVER_PORT'] . '/', |
@@ -81,16 +81,16 @@ |
||
| 81 | 81 | foreach ($iterator as $row) { |
| 82 | 82 | $raw = []; |
| 83 | 83 | /** |
| 84 | - * @var \PHPExcel_Worksheet_Row $row |
|
| 84 | + * @var \PHPExcel_Worksheet_Row $row |
|
| 85 | 85 | */ |
| 86 | 86 | // $rowIdx = $row->getRowIndex(); |
| 87 | 87 | $cells = $row->getCellIterator(); |
| 88 | 88 | /** |
| 89 | - * @var Iterator $cells |
|
| 89 | + * @var Iterator $cells |
|
| 90 | 90 | */ |
| 91 | 91 | foreach ($cells as $cell) { |
| 92 | 92 | /** |
| 93 | - * @var \PHPExcel_Cell $cell |
|
| 93 | + * @var \PHPExcel_Cell $cell |
|
| 94 | 94 | */ |
| 95 | 95 | $column = $cell->getColumn(); |
| 96 | 96 | $content = $cell->getFormattedValue(); |