@@ -10,6 +10,9 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | class VocabularyCategory extends DataObject |
| 12 | 12 | { |
| 13 | + /** |
|
| 14 | + * @param Model $model |
|
| 15 | + */ |
|
| 13 | 16 | public function __construct($model, $resource) |
| 14 | 17 | { |
| 15 | 18 | if (!($model instanceof Model)) { |
@@ -23,6 +23,9 @@ |
||
| 23 | 23 | } |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | + /** |
|
| 27 | + * @param string $name |
|
| 28 | + */ |
|
| 26 | 29 | private function getConstant($name, $default) |
| 27 | 30 | { |
| 28 | 31 | if (defined($name) && constant($name)) { |
@@ -114,7 +114,7 @@ |
||
| 114 | 114 | */ |
| 115 | 115 | public function getEnvLang() |
| 116 | 116 | { |
| 117 | - // get language from locale, same as used by gettext, set by Controller |
|
| 118 | - return substr(getenv("LC_ALL"), 0, 2); // @codeCoverageIgnore |
|
| 117 | + // get language from locale, same as used by gettext, set by Controller |
|
| 118 | + return substr(getenv("LC_ALL"), 0, 2); // @codeCoverageIgnore |
|
| 119 | 119 | } |
| 120 | 120 | } |
@@ -55,6 +55,7 @@ discard block |
||
| 55 | 55 | * @param Vocabulary $vocab |
| 56 | 56 | * @param EasyRdf_Resource $resource |
| 57 | 57 | * @param EasyRdf_Graph $graph |
| 58 | + * @param string|null $clang |
|
| 58 | 59 | */ |
| 59 | 60 | public function __construct($model, $vocab, $resource, $graph, $clang) |
| 60 | 61 | { |
@@ -512,6 +513,7 @@ discard block |
||
| 512 | 513 | |
| 513 | 514 | /** |
| 514 | 515 | * Gets the groups/arrays the concept belongs to. |
| 516 | + * @param boolean $includeArrays |
|
| 515 | 517 | */ |
| 516 | 518 | public function getReverseResources($includeArrays) { |
| 517 | 519 | $groups = array(); |
@@ -39,11 +39,11 @@ |
||
| 39 | 39 | return $html; |
| 40 | 40 | } |
| 41 | 41 | /** |
| 42 | - * Validate honeypot is empty |
|
| 43 | - * |
|
| 44 | - * @param mixed $value |
|
| 45 | - * @return boolean |
|
| 46 | - */ |
|
| 42 | + * Validate honeypot is empty |
|
| 43 | + * |
|
| 44 | + * @param mixed $value |
|
| 45 | + * @return boolean |
|
| 46 | + */ |
|
| 47 | 47 | public function validateHoneypot($value) |
| 48 | 48 | { |
| 49 | 49 | if ($this->disabled) { |
@@ -55,6 +55,7 @@ |
||
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * Steps back, restoring the previous character or statement read() to the input buffer. |
| 58 | + * @param string $chars |
|
| 58 | 59 | */ |
| 59 | 60 | protected function unread($chars) |
| 60 | 61 | { |