Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: App\Controller\SnippetController::isValidRepositoryName(): Argument #1 ($repository) must be of t... #869

Closed
sentry-io bot opened this issue Oct 17, 2022 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Oct 17, 2022

Sentry Issue: BADGE-POSER-90

TypeError: App\Controller\SnippetController::isValidRepositoryName(): Argument #1 ($repository) must be of type string, null given, called in /application/src/Controller/SnippetController.php on line 24
  File "/src/Controller/SnippetController.php", line 52, in App\Controller\SnippetController::isValidRepositoryName
    private function isValidRepositoryName(string $repository): bool
  File "/src/Controller/SnippetController.php", line 24, in App\Controller\SnippetController::all
    if (!$this->isValidRepositoryName($repository)) {
  File "/public/index.php", line 5
    require_once \dirname(__DIR__).'/vendor/autoload_runtime.php';
...
(3 additional frame(s) were not displayed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants