File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1212 }
1313 ],
1414 "require" : {
15- "php" : " >=5.3 .0"
15+ "php" : " >=7.2 .0"
1616 },
1717 "autoload" : {
1818 "psr-4" : {
2121 },
2222 "extra" : {
2323 "branch-alias" : {
24- "dev-master" : " 1.0 .x-dev"
24+ "dev-master" : " 1.1 .x-dev"
2525 }
2626 }
2727}
Original file line number Diff line number Diff line change 11<?php
22
3+ declare (strict_types=1 );
4+
35namespace Psr \Container ;
46
57/**
@@ -17,7 +19,7 @@ interface ContainerInterface
1719 *
1820 * @return mixed Entry.
1921 */
20- public function get ($ id );
22+ public function get (string $ id );
2123
2224 /**
2325 * Returns true if the container can return an entry for the given identifier.
@@ -30,5 +32,5 @@ public function get($id);
3032 *
3133 * @return bool
3234 */
33- public function has ($ id );
35+ public function has (string $ id );
3436}
You can’t perform that action at this time.
0 commit comments