mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-16 02:30:09 +03:00
- Fixed issue causing default-namespace to add duplicate namespace when using type-hints (issue: #561). - Fixed phpstan issues. - Tests: Fixed TestRouter not resetting namespace upon reset. - Tests: Added NSController (namespace controller) class. - Tests: added test for class hint + default namespace case. - Composer: added phpstan support + configuration. - Composer: updated phpunit version.
11 lines
116 B
PHP
11 lines
116 B
PHP
<?php
|
|
namespace MyNamespace;
|
|
|
|
class NSController {
|
|
|
|
public function method()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
} |