Raised PHP requirement to 7.1 and updated types.

Fixes #25
This commit is contained in:
Andrey Savchenko committed 2018-11-30 13:58:53 +02:00
1 parent cd55061e69
commit 204c1df755
29 files changed
+115 -75

No files matched your search

+3 -2
View File
@@ -1,4 +1,5 @@
<?php
declare( strict_types=1 );
namespace Rarst\Laps\Provider;
@@ -20,7 +21,7 @@ class Record_Provider implements ServiceProviderInterface, Bootable_Provider_Int
/**
* @param Container $pimple Container instance.
*/
public function register( Container $pimple ) {
public function register( Container $pimple ): void {
$pimple['stopwatch'] = $pimple->factory( function () {
return new Stopwatch( true );
@@ -51,7 +52,7 @@ class Record_Provider implements ServiceProviderInterface, Bootable_Provider_Int
/**
* @param Plugin $laps Container instance.
*/
public function boot( Plugin $laps ) {
public function boot( Plugin $laps ): void {
$laps['collectors'];
}
}