-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Remove unneeded phpdocs #33019
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
Remove unneeded phpdocs #33019
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,9 +34,7 @@ class TemplateFinder implements TemplateFinderInterface | |
private $templates; | ||
|
||
/** | ||
* @param KernelInterface $kernel A KernelInterface instance | ||
* @param TemplateNameParserInterface $parser A TemplateNameParserInterface instance | ||
* @param string $rootDir The directory where global templates can be stored | ||
* @param string $rootDir The directory where global templates can be stored | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typehinted maybe needed |
||
*/ | ||
public function __construct(KernelInterface $kernel, TemplateNameParserInterface $parser, string $rootDir) | ||
{ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,7 +133,6 @@ abstract protected function describeContainerTags(ContainerBuilder $builder, arr | |
* | ||
* @param Definition|Alias|object $service | ||
* @param array $options | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typehinted |
||
* @param ContainerBuilder|null $builder | ||
*/ | ||
abstract protected function describeContainerService($service, array $options = [], ContainerBuilder $builder = null); | ||
|
||
|
@@ -224,8 +223,7 @@ protected function formatParameter($value) | |
} | ||
|
||
/** | ||
* @param ContainerBuilder $builder | ||
* @param string $serviceId | ||
* @param string $serviceId | ||
* | ||
* @return mixed | ||
*/ | ||
|
@@ -249,8 +247,7 @@ protected function resolveServiceDefinition(ContainerBuilder $builder, $serviceI | |
} | ||
|
||
/** | ||
* @param ContainerBuilder $builder | ||
* @param bool $showHidden | ||
* @param bool $showHidden | ||
* | ||
* @return array | ||
*/ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,8 +31,7 @@ class TemplateLocator implements FileLocatorInterface | |
private $cacheHits = []; | ||
|
||
/** | ||
* @param FileLocatorInterface $locator A FileLocatorInterface instance | ||
* @param string $cacheDir The cache path | ||
* @param string $cacheDir The cache path | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. string|null |
||
*/ | ||
public function __construct(FileLocatorInterface $locator, string $cacheDir = null) | ||
{ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typehinted in constructor maybe surplus