File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
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 88/**
99 * Base interface representing a generic exception in a container.
1010 */
11- interface ContainerExceptionInterface
11+ interface ContainerExceptionInterface extends \Throwable
1212{
1313}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ interface ContainerInterface
2020 *
2121 * @return mixed Entry.
2222 */
23- public function get ($ id );
23+ public function get (string $ id );
2424
2525 /**
2626 * Returns true if the container can return an entry for the given identifier.
@@ -33,5 +33,5 @@ public function get($id);
3333 *
3434 * @return bool
3535 */
36- public function has ($ id );
36+ public function has (string $ id );
3737}
You can’t perform that action at this time.
0 commit comments