@@ -145,7 +145,7 @@ |
||
145 | 145 | * @param int $user_guid GUID of the user accessing the row |
146 | 146 | * Defaults to logged in user if null |
147 | 147 | * Builds an access query for a logged out user if 0 |
148 | - * @return stdClass|false |
|
148 | + * @return stdClass |
|
149 | 149 | * @access private |
150 | 150 | */ |
151 | 151 | public function getRow($guid, $user_guid = null) { |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | * Get primary attributes missing that are missing |
104 | 104 | * |
105 | 105 | * @param \stdClass $row Database row |
106 | - * @return array |
|
106 | + * @return boolean |
|
107 | 107 | */ |
108 | 108 | protected function isMissingPrimaries($row) { |
109 | 109 | return array_diff(self::$primary_attr_names, array_keys($row)) !== []; |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | * This function splits loads "primary" attributes (those in {prefix}entities table), |
140 | 140 | * but can load all at once if a combined loader is available. |
141 | 141 | * |
142 | - * @param mixed $row a row loaded from DB (array or \stdClass) |
|
142 | + * @param \stdClass $row a row loaded from DB (array or \stdClass) |
|
143 | 143 | * @return array will be empty if failed to load all attributes (access control or entity doesn't exist) |
144 | 144 | * |
145 | 145 | * @throws \InvalidArgumentException|\LogicException|\IncompleteEntityException |