Completed
Push — master ( 858968...6eab88 )
by Henri
03:37
created
model/VocabularyCategory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@
 block discarded – undo
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)) {
Please login to merge, or discard this patch.
model/GlobalConfig.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@
 block discarded – undo
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)) {
Please login to merge, or discard this patch.
model/SkosmosTurtleParser.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -55,6 +55,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
model/sparql/GenericSparql.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
      * Returns information (as a graph) for one or more concept URIs
454 454
      * @param mixed $uris concept URI (string) or array of URIs
455 455
      * @param string|null $arrayClass the URI for thesaurus array class, or null if not used
456
-     * @param \Vocabulary[]|null $vocabs vocabularies to target
456
+     * @param Vocabulary[] $vocabs vocabularies to target
457 457
      * @return \Concept[]
458 458
      */
459 459
     public function queryConceptInfoGraph($uris, $arrayClass = null, $vocabs = array()) {
@@ -673,7 +673,7 @@  discard block
 block discarded – undo
673 673
 
674 674
     /**
675 675
      * Generate a VALUES clause for limiting the targeted graphs.
676
-     * @param Vocabulary[]|null $vocabs array of Vocabulary objects to target
676
+     * @param Vocabulary[] $vocabs array of Vocabulary objects to target
677 677
      * @return string VALUES clause, or "" if not necessary to limit
678 678
      */
679 679
     protected function formatValuesGraph($vocabs) {
@@ -853,6 +853,7 @@  discard block
 block discarded – undo
853 853
      * @param string $searchLang language code used for matching labels (null means any language)
854 854
      * @param string[] $props properties to target e.g. array('skos:prefLabel','skos:altLabel')
855 855
      * @param boolean $unique restrict results to unique concepts (default: false)
856
+     * @param string $filterGraph
856 857
      * @return string sparql query
857 858
      */
858 859
     protected function generateConceptSearchQueryInner($term, $lang, $searchLang, $props, $unique, $filterGraph)
@@ -1118,6 +1119,7 @@  discard block
 block discarded – undo
1118 1119
     /**
1119 1120
      * Generates sparql query clauses used for creating the alphabetical index.
1120 1121
      * @param string $letter the letter (or special class) to search for
1122
+     * @param string $lang
1121 1123
      * @return array of sparql query clause strings
1122 1124
      */
1123 1125
     private function formatFilterConditions($letter, $lang) {
Please login to merge, or discard this patch.
model/VocabularyConfig.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -455,7 +455,7 @@
 block discarded – undo
455 455
      * Additionally, the chosen content language is inserted with the highest priority
456 456
      * and the vocab default language is inserted with the lowest priority.
457 457
      * @param string $clang
458
-     * @return array of language code strings
458
+     * @return string[] of language code strings
459 459
      */
460 460
     public function getLanguageOrder($clang)
461 461
     {
Please login to merge, or discard this patch.
model/ConceptPropertyValue.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -12,6 +12,10 @@
 block discarded – undo
12 12
     /** content language */
13 13
     private $clang;
14 14
 
15
+    /**
16
+     * @param Model $model
17
+     * @param Vocabulary $vocab
18
+     */
15 19
     public function __construct($model, $vocab, $resource, $prop, $clang = '')
16 20
     {
17 21
         parent::__construct($model, $vocab, $resource);
Please login to merge, or discard this patch.