@@ -93,7 +93,7 @@ |
||
| 93 | 93 | /** |
| 94 | 94 | * Get the basePath/baseUrl of the description |
| 95 | 95 | * |
| 96 | - * @return Url |
|
| 96 | + * @return string |
|
| 97 | 97 | */ |
| 98 | 98 | public function getBaseUrl() |
| 99 | 99 | { |
@@ -108,7 +108,7 @@ |
||
| 108 | 108 | * |
| 109 | 109 | * @param DescriptionInterface $description Service description |
| 110 | 110 | * |
| 111 | - * @return callable Returns a command factory |
|
| 111 | + * @return \Closure Returns a command factory |
|
| 112 | 112 | */ |
| 113 | 113 | public static function defaultCommandFactory(DescriptionInterface $description) |
| 114 | 114 | { |
@@ -239,7 +239,7 @@ |
||
| 239 | 239 | * @param string $name Name of the data point to retrieve or null to |
| 240 | 240 | * retrieve all of the extra data. |
| 241 | 241 | * |
| 242 | - * @return mixed|null |
|
| 242 | + * @return string |
|
| 243 | 243 | */ |
| 244 | 244 | public function getData($name = null) |
| 245 | 245 | { |
@@ -241,7 +241,7 @@ |
||
| 241 | 241 | * |
| 242 | 242 | * @param \XMLWriter $writer |
| 243 | 243 | * |
| 244 | - * @return \string the writer resource |
|
| 244 | + * @return string the writer resource |
|
| 245 | 245 | */ |
| 246 | 246 | protected function finishDocument($writer) |
| 247 | 247 | { |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | * @param string $type Parameter type |
| 59 | 59 | * @param mixed $value Value to determine the type |
| 60 | 60 | * |
| 61 | - * @return string|bool Returns the matching type on |
|
| 61 | + * @return string|false Returns the matching type on |
|
| 62 | 62 | */ |
| 63 | 63 | protected function determineType($type, $value) |
| 64 | 64 | { |
@@ -118,6 +118,9 @@ |
||
| 118 | 118 | return $result; |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | + /** |
|
| 122 | + * @param string|null $location |
|
| 123 | + */ |
|
| 121 | 124 | private function triggerBeforeVisitor( |
| 122 | 125 | $location, |
| 123 | 126 | Parameter $model, |