Skip to content

Commit

Permalink
MNT Remove unnecessary @var comments
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Jan 23, 2024
1 parent 0e56e36 commit 0456a8f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Middleware/MiddlewareAware.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ protected function callMiddleware($class, $excludeMiddleware, $last)
// Build middleware from back to front
$next = $last;

/** @var Middleware $middleware */
foreach (array_reverse($this->getMiddlewares() ?? []) as $middleware) {
$next = function ($class, $excludeMiddleware) use ($middleware, $next) {
return $middleware->getClassConfig($class, $excludeMiddleware, $next);
Expand Down
1 change: 0 additions & 1 deletion src/Transformer/PrivateStaticTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ protected function getClassConfig($class)
{
$reflection = new ReflectionClass($class);

/** @var ReflectionProperty[] $props **/
$props = $reflection->getProperties(ReflectionProperty::IS_STATIC);

$classConfig = [];
Expand Down

0 comments on commit 0456a8f

Please sign in to comment.