codestudiohq / laravel-totem

Manage Your Laravel Schedule From A Web Dashboard
MIT License
1.79k stars 224 forks source link

Class 'Str' not found #217

Closed andrewwindfall closed 4 years ago

andrewwindfall commented 4 years ago

/vendor/studio/laravel-totem/resources/views/tasks/view.blade.php line 16: <span class="uk-float-left">{{Str::limit($task->description, 80)}}</span>

This should be: <span class="uk-float-left">{{Illuminate\Support\Str::limit($task->description, 80)}}</span> for laravel 6

timothyasp commented 4 years ago

Add

'Arr' => Illuminate\Support\Arr::class,
'Str' => Illuminate\Support\Str::class,

to your config/app.php aliases list.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.