mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-17 13:14:58 +00:00
Make getters public,
Add Test
This commit is contained in:
@@ -890,7 +890,7 @@ class Cart
|
||||
*
|
||||
* @return \Carbon\Carbon|null
|
||||
*/
|
||||
private function createdAt()
|
||||
public function createdAt()
|
||||
{
|
||||
return $this->createdAt;
|
||||
}
|
||||
@@ -900,7 +900,7 @@ class Cart
|
||||
*
|
||||
* @return \Carbon\Carbon|null
|
||||
*/
|
||||
private function updatedAt()
|
||||
public function updatedAt()
|
||||
{
|
||||
return $this->createdAt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user