Skip to content

Commit 5eddfe7

Browse files
committed
Add missing strict_types declaration
1 parent 222bb4e commit 5eddfe7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/polyfill_str_contains.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
if (!function_exists('str_contains')) {
46
/**
57
* Polyfill for PHP 8 str_contains() for PHP 7.4.

0 commit comments

Comments
 (0)