Completed
Branch master (ac526e)
by Anton
03:39
created
source/Spiral/ODM/Entities/DocumentSource.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      *
106 106
      * @param string|\MongoId $id Primary key value.
107 107
      *
108
-     * @return CompositableInterface|Document|null
108
+     * @return CompositableInterface|null
109 109
      */
110 110
     public function findByPK($id)
111 111
     {
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      * @param array $query  Fields and conditions to query by.
119 119
      * @param array $sortBy Always specify sort by to ensure that results are stable.
120 120
      *
121
-     * @return CompositableInterface|Document|null
121
+     * @return CompositableInterface|null
122 122
      */
123 123
     public function findOne(array $query = [], array $sortBy = [])
124 124
     {
Please login to merge, or discard this patch.