Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions system/BaseModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,11 @@ abstract protected function doFirst();

/**
* Inserts data into the current database
* This methods works only with dbCalls
* This method works only with dbCalls
*
* @param array $data Data
*
* @return bool|int|string
* @return bool
*/
abstract protected function doInsert(array $data);

Expand Down Expand Up @@ -695,7 +695,7 @@ public function getInsertID()
*
* @throws ReflectionException
*
* @return bool|int|string
* @return bool|int|string insert ID or true on success. false on failure.
*/
public function insert($data = null, bool $returnID = true)
{
Expand Down
2 changes: 1 addition & 1 deletion system/Database/BaseBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1887,7 +1887,7 @@ public function getCompiledInsert(bool $reset = true)
*
* @throws DatabaseException
*
* @return bool|Query
* @return bool
*/
public function insert($set = null, ?bool $escape = null)
{
Expand Down
4 changes: 2 additions & 2 deletions system/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,11 @@ protected function doFirst()

/**
* Inserts data into the current table.
* This methods works only with dbCalls
* This method works only with dbCalls
*
* @param array $data Data
*
* @return bool|Query
* @return bool
*/
protected function doInsert(array $data)
{
Expand Down