Skip to content

Commit ee0dcef

Browse files
committed
docs: fix @param types
1 parent 4fdfcc4 commit ee0dcef

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

system/Debug/Timer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ class Timer
3434
* Multiple calls can be made to this method so that several
3535
* execution points can be measured.
3636
*
37-
* @param string $name The name of this timer.
38-
* @param float $time Allows user to provide time.
37+
* @param string $name The name of this timer.
38+
* @param float|null $time Allows user to provide time.
3939
*
4040
* @return Timer
4141
*/

system/Model.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -623,9 +623,9 @@ public function builder(?string $table = null)
623623
* data here. This allows it to be used with any of the other
624624
* builder methods and still get validated data, like replace.
625625
*
626-
* @param mixed $key Field name, or an array of field/value pairs
627-
* @param mixed $value Field value, if $key is a single field
628-
* @param bool|null $escape Whether to escape values
626+
* @param array|object|string $key Field name, or an array of field/value pairs
627+
* @param bool|float|int|object|string|null $value Field value, if $key is a single field
628+
* @param bool|null $escape Whether to escape values
629629
*
630630
* @return $this
631631
*/

0 commit comments

Comments
 (0)