@@ -76,7 +76,7 @@ |
||
76 | 76 | * Returns the primary key name(s) for this AR class. |
77 | 77 | * This method should be overridden by child classes to define the primary key. |
78 | 78 | * |
79 | - * @return string[] the primary keys of this record. |
|
79 | + * @return string the primary keys of this record. |
|
80 | 80 | */ |
81 | 81 | public static function primaryKey() |
82 | 82 | { |
@@ -189,7 +189,7 @@ |
||
189 | 189 | /** |
190 | 190 | * Returns the result of the current item. |
191 | 191 | * This method is required by the interface [[\Iterator]]. |
192 | - * @return integer the index of the current row. |
|
192 | + * @return string the index of the current row. |
|
193 | 193 | */ |
194 | 194 | public function key() |
195 | 195 | { |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | * @param string $dn |
112 | 112 | * @param array $entry |
113 | 113 | * |
114 | - * @return mixed |
|
114 | + * @return boolean |
|
115 | 115 | */ |
116 | 116 | public function modAdd($dn, array $entry) |
117 | 117 | { |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | * @param string $dn |
125 | 125 | * @param array $entry |
126 | 126 | * |
127 | - * @return mixed |
|
127 | + * @return boolean |
|
128 | 128 | */ |
129 | 129 | public function modReplace($dn, array $entry) |
130 | 130 | { |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | * @param string $dn |
138 | 138 | * @param array $entry |
139 | 139 | * |
140 | - * @return mixed |
|
140 | + * @return boolean |
|
141 | 141 | */ |
142 | 142 | public function modDelete($dn, array $entry) |
143 | 143 | { |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | * |
175 | 175 | * @param $searchResult |
176 | 176 | * |
177 | - * @return mixed |
|
177 | + * @return resource |
|
178 | 178 | */ |
179 | 179 | public function getFirstEntry($searchResults) |
180 | 180 | { |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | * |
187 | 187 | * @param $entry |
188 | 188 | * |
189 | - * @return mixed |
|
189 | + * @return resource |
|
190 | 190 | */ |
191 | 191 | public function getNextEntry($entry) |
192 | 192 | { |
@@ -220,6 +220,7 @@ discard block |
||
220 | 220 | |
221 | 221 | /** |
222 | 222 | * {@inheritdoc} |
223 | + * @param integer $option |
|
223 | 224 | */ |
224 | 225 | public function setOption($option, $value) |
225 | 226 | { |
@@ -229,10 +230,8 @@ discard block |
||
229 | 230 | /** |
230 | 231 | * Sets an option on the current connection. |
231 | 232 | * |
232 | - * @param int $option |
|
233 | - * @param mixed $value |
|
234 | 233 | * |
235 | - * @return mixed |
|
234 | + * @return boolean |
|
236 | 235 | */ |
237 | 236 | public function setRebindCallback(callable $callback) |
238 | 237 | { |
@@ -242,7 +241,7 @@ discard block |
||
242 | 241 | /** |
243 | 242 | * Starts a connection using TLS. |
244 | 243 | * |
245 | - * @return mixed |
|
244 | + * @return boolean |
|
246 | 245 | */ |
247 | 246 | public function startTLS() |
248 | 247 | { |
@@ -253,7 +252,7 @@ discard block |
||
253 | 252 | * Returns the error number of the last command |
254 | 253 | * executed on the current connection. |
255 | 254 | * |
256 | - * @return mixed |
|
255 | + * @return integer |
|
257 | 256 | */ |
258 | 257 | public function getErrNo() |
259 | 258 | { |
@@ -39,7 +39,7 @@ |
||
39 | 39 | protected $isEnabled = true; |
40 | 40 | |
41 | 41 | /** |
42 | - * @param LdapConnectionInterface $connection |
|
42 | + * @param ConnectionInterface $connection |
|
43 | 43 | */ |
44 | 44 | public function __construct(ConnectionInterface $connection) |
45 | 45 | { |
@@ -339,7 +339,7 @@ |
||
339 | 339 | |
340 | 340 | /** |
341 | 341 | * Sets the SELECT part of the query. |
342 | - * @param string|array $columns the columns to be selected. |
|
342 | + * @param string $columns the columns to be selected. |
|
343 | 343 | * Columns can be specified in either a string (e.g. "id, name") or an array (e.g. ['id', 'name']). |
344 | 344 | * |
345 | 345 | * ```php |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | /** |
29 | 29 | * Sets the current LDAP attribute schema. |
30 | 30 | * |
31 | - * @param SchemaInterface $schema |
|
31 | + * @param \chrmorandi\ldap\schemas\ActiveDirectory $schema |
|
32 | 32 | */ |
33 | 33 | public static function set(SchemaInterface $schema) |
34 | 34 | { |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | /** |
39 | 39 | * Returns a new instance of the default schema. |
40 | 40 | * |
41 | - * @return SchemaInterface |
|
41 | + * @return \chrmorandi\ldap\schemas\ActiveDirectory |
|
42 | 42 | */ |
43 | 43 | public static function getDefault() |
44 | 44 | { |