File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1663,7 +1663,7 @@ public function asObject(string $class = 'object')
16631663 * @param bool $onlyChanged Only Changed Property
16641664 * @param bool $recursive If true, inner entities will be cast as array as well
16651665 *
1666- * @return array Array
1666+ * @return array<string, mixed>
16671667 *
16681668 * @throws ReflectionException
16691669 */
Original file line number Diff line number Diff line change @@ -212,6 +212,7 @@ protected function doFind(bool $singleton, $id = null)
212212 * @param string $columnName Column Name
213213 *
214214 * @return array|null The resulting row of data, or null if no data found.
215+ * @phpstan-return list<row_array>|null
215216 */
216217 protected function doFindColumn (string $ columnName )
217218 {
@@ -700,7 +701,7 @@ protected function shouldUpdate($data): bool
700701 * @phpstan-param row_array|object|null $data
701702 * @param bool $returnID Whether insert ID should be returned or not.
702703 *
703- * @return false |int|object |string
704+ * @return bool |int|string
704705 * @phpstan-return ($returnID is true ? int|string|false : bool)
705706 *
706707 * @throws ReflectionException
You can’t perform that action at this time.
0 commit comments