Skip to content
Open
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
10 changes: 5 additions & 5 deletions paris.php
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ public function set_orm($orm) {
* Magic getter method, allows $model->property access to data.
*
* @param string $property
* @return null|string
* @return mixed
*/
public function __get($property) {
return $this->orm->get($property);
Expand All @@ -556,7 +556,7 @@ public function __get($property) {
* Magic setter method, allows $model->property = 'value' access to data.
*
* @param string $property
* @param string $value
* @param mixed $value
* @return void
*/
public function __set($property, $value) {
Expand Down Expand Up @@ -649,7 +649,7 @@ public function as_array() {
/**
* Save the data associated with this model instance to the database.
*
* @return null
* @return bool
*/
public function save() {
return $this->orm->save();
Expand All @@ -658,7 +658,7 @@ public function save() {
/**
* Delete the database row associated with this model instance.
*
* @return null
* @return bool
*/
public function delete() {
return $this->orm->delete();
Expand All @@ -667,7 +667,7 @@ public function delete() {
/**
* Get the database ID of this model instance.
*
* @return integer
* @return mixed
*/
public function id() {
return $this->orm->id();
Expand Down