@@ -86,10 +86,10 @@ |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | /** |
89 | - * Note that this does not do a strict equality check because all objects are immutable so it's |
|
90 | - * unlikely that you will request a reference to an internal object. If you require more specific |
|
91 | - * matching use search(), filter(), unwrap object, or iterate. |
|
92 | - */ |
|
89 | + * Note that this does not do a strict equality check because all objects are immutable so it's |
|
90 | + * unlikely that you will request a reference to an internal object. If you require more specific |
|
91 | + * matching use search(), filter(), unwrap object, or iterate. |
|
92 | + */ |
|
93 | 93 | public function find(object $object) |
94 | 94 | { |
95 | 95 | $this->assertInitialized(); |
@@ -56,7 +56,7 @@ |
||
56 | 56 | $this->assertValidKey($key); |
57 | 57 | if (func_num_args() === 1) { |
58 | 58 | Assert::that($this->has($key))->true("Key '$key' not found and no default provided"); |
59 | - return clone (object)$this->compositeMap->get($key); |
|
59 | + return clone (object) $this->compositeMap->get($key); |
|
60 | 60 | } else { |
61 | 61 | if (!is_null($default)) { |
62 | 62 | $this->assertValidType($default); |