@@ -91,7 +91,7 @@ |
||
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
94 | - * @return Entity |
|
94 | + * @return boolean |
|
95 | 95 | */ |
96 | 96 | public function knows(Contracts\Entity $entity) |
97 | 97 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Tarantool\Client; |
6 | 6 | use Tarantool\Mapper\Contracts; |
7 | -use Tarantool\Schema\Space; |
|
8 | 7 | use Tarantool\Schema\Index; |
9 | 8 | |
10 | 9 | class Schema implements Contracts\Schema |
@@ -139,6 +139,9 @@ |
||
139 | 139 | return $this; |
140 | 140 | } |
141 | 141 | |
142 | + /** |
|
143 | + * @param string $property |
|
144 | + */ |
|
142 | 145 | public function reference(Contracts\Type $foreign, $property = null) |
143 | 146 | { |
144 | 147 | if (!$property) { |