Skip to content

Commit 70f566f

Browse files
committed
docs: Add the type.
1 parent f92f091 commit 70f566f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

system/BaseModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1711,7 +1711,7 @@ protected function transformDataToArray($data, string $type): array
17111711
*
17121712
* @param string $name Name
17131713
*
1714-
* @return array|bool|int|object|string|null
1714+
* @return array|bool|float|int|object|string|null
17151715
*/
17161716
public function __get(string $name)
17171717
{

system/Model.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ protected function objectToRawArray($data, bool $onlyChanged = true, bool $recur
792792
*
793793
* @param string $name Name
794794
*
795-
* @return array|BaseBuilder|bool|int|object|string|null
795+
* @return array|BaseBuilder|bool|float|int|object|string|null
796796
*/
797797
public function __get(string $name)
798798
{
@@ -821,7 +821,7 @@ public function __isset(string $name): bool
821821
* Provides direct access to method in the builder (if available)
822822
* and the database connection.
823823
*
824-
* @return array|BaseBuilder|bool|float|int|object|string|null
824+
* @return $this|array|BaseBuilder|bool|float|int|object|string|null
825825
*/
826826
public function __call(string $name, array $params)
827827
{

0 commit comments

Comments
 (0)