This repository was archived by the owner on Jul 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -177,9 +177,12 @@ public function isRestoring() : bool
177177 * Retrieves users to be imported.
178178 *
179179 * @return array
180+ *
181+ * @throws \Adldap\Models\ModelNotFoundException
180182 */
181183 public function getUsers () : array
182184 {
185+ /** @var \Adldap\Query\Builder $query */
183186 $ query = Resolver::query ();
184187
185188 if ($ filter = $ this ->option ('filter ' )) {
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public function query() : Builder;
7474 *
7575 * @return string
7676 */
77- public function getLdapDiscoveryAttribute ();
77+ public function getLdapDiscoveryAttribute () : string ;
7878
7979 /**
8080 * Retrieves the configured LDAP users authenticatable username attribute.
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ public function query() : Builder
143143 /**
144144 * {@inheritdoc}
145145 */
146- public function getLdapDiscoveryAttribute ()
146+ public function getLdapDiscoveryAttribute () : string
147147 {
148148 return Config::get ('adldap_auth.usernames.ldap.discover ' , 'userprincipalname ' );
149149 }
You can’t perform that action at this time.
0 commit comments