Changed timestamp function in eloquent/model.php to public
This commit is contained in:
@@ -445,7 +445,7 @@ abstract class Model {
|
|||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function timestamp()
|
public function timestamp()
|
||||||
{
|
{
|
||||||
$this->updated_at = new \DateTime;
|
$this->updated_at = new \DateTime;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user