* Return the flight fares if there are no subfleet fares #488 * Formatting * Formatting
This commit is contained in:
@@ -67,7 +67,7 @@ class File extends Model
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getFilenameAttribute() :string
|
||||
public function getFilenameAttribute(): string
|
||||
{
|
||||
if (!$this->pathinfo) {
|
||||
$this->pathinfo = pathinfo($this->path);
|
||||
|
||||
@@ -146,7 +146,7 @@ class User extends Authenticatable
|
||||
}
|
||||
|
||||
return new File([
|
||||
'path' => $this->attributes['avatar'],
|
||||
'path' => $this->attributes['avatar'],
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user