Completed
Push — master ( c57039...f19613 )
by Stefan
04:50
created
core/EntityWithDBProperties.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      * This function retrieves the IdP-wide attributes. If called with the optional parameter, only attribute values for the attribute
104 104
      * name in $option_name are retrieved; otherwise, all attributes are retrieved.
105 105
      *
106
-     * @param string $option_name optionally, the name of the attribute that is to be retrieved
106
+     * @param integer $option_name optionally, the name of the attribute that is to be retrieved
107 107
      * @return array of arrays of attributes which were set for this IdP
108 108
      */
109 109
     public function getAttributes($option_name = 0) {
@@ -187,6 +187,9 @@  discard block
 block discarded – undo
187 187
         }
188 188
     }
189 189
 
190
+    /**
191
+     * @param string $level
192
+     */
190 193
     protected function retrieveOptionsFromDatabase($query, $level) {
191 194
         $optioninstance = Options::instance();
192 195
         $this->attributes = [];
Please login to merge, or discard this patch.