File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ public function toArray()
42
42
return $ this ->entries ;
43
43
}
44
44
45
+ /**
46
+ * @return int
47
+ */
45
48
public function count ()
46
49
{
47
50
$ con = $ this ->connection ->getResource ();
@@ -58,6 +61,9 @@ public function count()
58
61
return $ count ;
59
62
}
60
63
64
+ /**
65
+ * @return \Traversable
66
+ */
61
67
public function getIterator ()
62
68
{
63
69
if (0 === $ this ->count ()) {
@@ -81,6 +87,9 @@ public function getIterator()
81
87
}
82
88
}
83
89
90
+ /**
91
+ * @return bool
92
+ */
84
93
public function offsetExists ($ offset )
85
94
{
86
95
$ this ->toArray ();
Original file line number Diff line number Diff line change @@ -55,8 +55,9 @@ public function testLdapEscape()
55
55
->expects ($ this ->once ())
56
56
->method ('escape ' )
57
57
->with ('foo ' , 'bar ' , 'baz ' )
58
- ->willReturn ('' );
58
+ ->willReturn ('' )
59
59
;
60
+
60
61
$ this ->ldap ->escape ('foo ' , 'bar ' , 'baz ' );
61
62
}
62
63
You can’t perform that action at this time.
0 commit comments