0

This is the line the error is on:

return app('cache')->get($arguments[0], $arguments[1] ?? null);

I have already tried updating the PHP to version 7 and its still not working.

Yousha Aleayoub
  • 4,532
  • 4
  • 53
  • 64

1 Answers1

0

Try this:

return app('cache')->get($arguments[0], isset($arguments[1]) ? $arguments[1] : null);
bestestefan
  • 852
  • 6
  • 20
Mahdi Younesi
  • 6,889
  • 2
  • 20
  • 51