Fix code style and bump to php 7.4

This commit is contained in:
Jaapio
2024-03-12 22:28:53 +01:00
parent 1c6b5465fa
commit c6d49fc451
36 changed files with 181 additions and 137 deletions
+2 -3
View File
@@ -31,11 +31,10 @@ use const DIRECTORY_SEPARATOR;
*/
class ExampleFinder
{
/** @var string */
private $sourceDirectory = '';
private string $sourceDirectory = '';
/** @var string[] */
private $exampleDirectories = [];
private array $exampleDirectories = [];
/**
* Attempts to find the example contents for the given descriptor.