Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Nov 15, 2023
1 parent 2132786 commit adb6786
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
42 changes: 21 additions & 21 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,6 @@
"homepage": "http://paveljanda.com"
}
],
"autoload": {
"psr-4": {
"Contributte\\ApiRouter\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests"
}
},
"require": {
"php": ">=8.0",
"nette/http": "^3.2.0",
Expand All @@ -43,23 +33,33 @@
"doctrine/annotations": "^1.14.0"
},
"require-dev": {
"nette/tester": "^2.3.2",
"mockery/mockery": "^1.3",
"ninjify/qa": "^0.12",
"tracy/tracy": "^2.6",
"phpstan/phpstan": "^1.9.4",
"phpstan/phpstan-deprecation-rules": "^1.1.0",
"phpstan/phpstan-nette": "^1.2.0",
"phpstan/phpstan-strict-rules": "^1.4.0"
"contributte/qa": "^0.4",
"contributte/tester": "^0.3",
"contributte/phpstan": "^0.1",
"mockery/mockery": "^1.6.6",
"tracy/tracy": "^2.10.5"
},
"extra": {
"branch-alias": {
"dev-master": "5.0.x-dev"
"autoload": {
"psr-4": {
"Contributte\\ApiRouter\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"branch-alias": {
"dev-master": "5.0.x-dev"
}
}
}
2 changes: 1 addition & 1 deletion src/DI/ApiRouterExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function beforeCompile(): void
$routes = $this->findRoutes($builder);

$this->definition = $builder->addDefinition($this->prefix('resolver'))
->setClass(ApiRoutesResolver::class)
->setType(ApiRoutesResolver::class)
->addSetup('prepandRoutes', [$builder->getDefinition('router'), $routes]);
}

Expand Down

0 comments on commit adb6786

Please sign in to comment.