Skip to content

Commit 2d7025e

Browse files
committed
Small cleanup
1 parent 91af543 commit 2d7025e

File tree

2 files changed

+2
-28
lines changed

2 files changed

+2
-28
lines changed

src/LdapInterface.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22

33
namespace LdapRecord;
44

5-
/**
6-
* The Connection interface used for making connections. Implementing
7-
* this interface on connection classes helps unit and functional
8-
* test classes that require a connection.
9-
*
10-
* Interface ConnectionInterface
11-
*/
125
interface LdapInterface
136
{
147
/**

src/Query/Model/Builder.php

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ public function findByAnr($value, $columns = [])
5555
return $this->findManyByAnr($value, $columns);
5656
}
5757

58-
// If we're not using ActiveDirectory, we can't use ANR.
59-
// We will make our own equivalent query.
58+
// If we're not using ActiveDirectory, we can't use
59+
// ANR. We will make our own equivalent query.
6060
if (!$this->model instanceof ActiveDirectory) {
6161
return $this->prepareAnrEquivalentQuery($value)->first($columns);
6262
}
@@ -176,23 +176,4 @@ protected function process(array $results)
176176
{
177177
return $this->model->hydrate(parent::process($results));
178178
}
179-
180-
/**
181-
* Parse a list of relations into individuals.
182-
*
183-
* @param array $relations
184-
*
185-
* @return array
186-
*/
187-
protected function parseWithRelations(array $relations)
188-
{
189-
$results = [];
190-
191-
foreach ($relations as $name) {
192-
$results[$name] = function () {
193-
};
194-
}
195-
196-
return $results;
197-
}
198179
}

0 commit comments

Comments
 (0)