Skip to content

Commit

Permalink
Merge pull request #1597 from jqhph/analysis-d0BARv
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
jqhph authored Dec 12, 2021
2 parents 6760e8d + ff62520 commit a2fb85e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Traits/ModelTree.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ trait ModelTree
*/
public function getParentColumn()
{
return property_exists($this,'parentColumn') ? $this->parentColumn : 'parent_id';
return property_exists($this, 'parentColumn') ? $this->parentColumn : 'parent_id';
}

/**
Expand All @@ -48,7 +48,7 @@ public function getParentColumn()
*/
public function getTitleColumn()
{
return property_exists($this,'titleColumn') ? $this->titleColumn : 'title';
return property_exists($this, 'titleColumn') ? $this->titleColumn : 'title';
}

/**
Expand All @@ -58,7 +58,7 @@ public function getTitleColumn()
*/
public function getOrderColumn()
{
return property_exists($this,'orderColumn') ? $this->orderColumn : 'order';
return property_exists($this, 'orderColumn') ? $this->orderColumn : 'order';
}

/**
Expand All @@ -68,15 +68,15 @@ public function getOrderColumn()
*/
public function getDepthColumn()
{
return property_exists($this,'depthColumn') ? $this->depthColumn : '';
return property_exists($this, 'depthColumn') ? $this->depthColumn : '';
}

/**
* @return string
*/
public function getDefaultParentId()
{
return property_exists($this,'defaultParentId') ? $this->defaultParentId : '0';
return property_exists($this, 'defaultParentId') ? $this->defaultParentId : '0';
}

/**
Expand Down

0 comments on commit a2fb85e

Please sign in to comment.