Skip to content

Commit

Permalink
QoL: fix typos and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gigili committed Apr 7, 2023
1 parent fb60c4e commit 1938865
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}
],
"require": {
"php" : ">=8.1",
"php" : ">=8.0",
"ext-json" : "*",
"ext-mbstring" : "*"
},
Expand Down
2 changes: 1 addition & 1 deletion sample/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,5 @@ function has_roles(string $allowedRoles) : void {
}

function test_middleware() : void {

//Do something
}
2 changes: 1 addition & 1 deletion src/DIContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static function get(string $class, array $arguments = []) : array {

$parameters = $constructor->getParameters();

if ( is_null($parameters) || count($parameters) === 0 ) {
if ( count($parameters) === 0 ) {
return $arguments;
}

Expand Down

0 comments on commit 1938865

Please sign in to comment.