- Minor bugfixes
This commit is contained in:
		
							parent
							
								
									7a06f5fd64
								
							
						
					
					
						commit
						f6d86001d5
					
				| @ -177,7 +177,7 @@ class LdapObject { | ||||
|     public function runUpdateQuery(array $filter, array $dataset) | ||||
|     { | ||||
|         static::$dump && call_user_func_array(static::$dump, [ $filter, $dataset ]); | ||||
|         dump($filter, $dataset); | ||||
|          | ||||
|         if ( false === ( $queryResult = ldap_mod_replace($this->connection, $filter['dn'], $dataset) ) ) { | ||||
|             $this->throwLdapException(); | ||||
|         } | ||||
|  | ||||
| @ -241,7 +241,7 @@ class QueryBuilder implements Ulmus\Query\QueryBuilderInterface | ||||
|         return null; | ||||
|     } | ||||
| 
 | ||||
|     public function removeFragment(Ulmus\Query\Fragment $fragment) : void | ||||
|     public function removeFragment(array|string|Ulmus\Query\Fragment|\Stringable $fragment) : void | ||||
|     { | ||||
|         foreach($this->queryStack as $key => $item) { | ||||
|             if ( $item === $fragment ) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user