Skip to content

Commit

Permalink
remove deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
ctf0 authored Sep 20, 2019
1 parent bae7d18 commit b5c4e9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PackageChangeLogServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace ctf0\PackageChangeLog;

use Illuminate\Support\Str;
use Illuminate\Support\ServiceProvider;

class PackageChangeLogServiceProvider extends ServiceProvider
Expand Down Expand Up @@ -71,6 +72,6 @@ public static function postAutoloadDump(\Composer\Script\Event $event)

protected function checkExist($file, $search)
{
return str_contains(file_get_contents($file), $search);
return Str::contains(file_get_contents($file), $search);
}
}

0 comments on commit b5c4e9c

Please sign in to comment.