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

Update phpstan #40

Merged
merged 2 commits into from
Jun 16, 2020
Merged

Conversation

Prokyonn
Copy link
Member

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #issuenum
Related issues/PRs #issuenum
License MIT

What's in this PR?

Update phpstan.

@@ -76,7 +76,7 @@ public function configureViews(ViewCollection $viewCollection): void
}

/**
* {@inheritdoc}
* @return mixed[]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should contribute this back to sulu/sulu so we don't have this issue in every bundle.

If we are correct we would need to go with something like:

@return array<string, array<string, array<string, array<int, string>>>>

but think that would be to complex 🙈

@@ -379,7 +383,7 @@ private function getFieldDescriptors(string $type = null): array
}

/**
* {@inheritdoc}
* @return string
Copy link
Member

@alexander-schranz alexander-schranz Jun 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same for this we should contribute this back to sulu release/2.0 branch (SecuredControllerInterface)

@alexander-schranz alexander-schranz merged commit e9b953d into sulu:develop Jun 16, 2020
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

Successfully merging this pull request may close these issues.

3 participants