Skip to content

Commit

Permalink
Make HasAttributes::getDateFormat public (#22618)
Browse files Browse the repository at this point in the history
It doesn't really make sense to make the getter protected function if the setter is public.
  • Loading branch information
Mechazawa authored and taylorotwell committed Jan 2, 2018
1 parent 2ec3472 commit 31a183f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ public function getDates()
*
* @return string
*/
protected function getDateFormat()
public function getDateFormat()
{
return $this->dateFormat ?: $this->getConnection()->getQueryGrammar()->getDateFormat();
}
Expand Down

0 comments on commit 31a183f

Please sign in to comment.