mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-21 23:05:05 +00:00
Update CanBeBought.php
This commit is contained in:
@@ -19,7 +19,7 @@ trait CanBeBought
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getBuyableDescription() : ?string
|
||||
public function getBuyableDescription(): ?string
|
||||
{
|
||||
if (($name = $this->getAttribute('name'))) {
|
||||
return $name;
|
||||
|
||||
Reference in New Issue
Block a user