Commit 06649b68 authored by Claudio Ludovico Panetta's avatar Claudio Ludovico Panetta 🇺🇸

Fix using deprecated function for Laravel6

parent 6cd1f777
......@@ -3,6 +3,7 @@
namespace Ludo237\DelayedArtisticGuppy;
use Illuminate\Foundation\Application;
use Illuminate\Support\Arr;
/**
* Class Delarg
......@@ -75,7 +76,7 @@ final class Delarg
{
return array_map(
"ucfirst",
array_random($this->basket, $length)
Arr::random($this->basket, $length)
);
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment