Skip to content

Commit ca15377

Browse files
committed
TASK: Dont @psalm- prefix when using phpstan :D
1 parent 301b058 commit ca15377

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

Classes/Domain/NodeTemplateDumper/Comment.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@
1515
class Comment
1616
{
1717
/**
18-
* @psalm-var \Closure(string $indentation, string $propertyName): string $renderFunction
18+
* @var \Closure(string $indentation, string $propertyName): string $renderFunction
1919
*/
2020
private \Closure $renderFunction;
2121

2222
/**
23-
* @psalm-param \Closure(string $indentation, string $propertyName): string $renderFunction
23+
* @param \Closure(string $indentation, string $propertyName): string $renderFunction
2424
*/
2525
private function __construct(\Closure $renderFunction)
2626
{
2727
$this->renderFunction = $renderFunction;
2828
}
2929

3030
/**
31-
* @psalm-param \Closure(string $indentation, string $propertyName): string $renderFunction
31+
* @param \Closure(string $indentation, string $propertyName): string $renderFunction
3232
*/
3333
public static function fromRenderer($renderFunction): self
3434
{

Classes/Domain/TemplateConfiguration/TemplateConfigurationProcessor.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ class TemplateConfigurationProcessor
2323
protected $eelEvaluationService;
2424

2525
/**
26-
* @psalm-param array<string, mixed> $configuration
27-
* @psalm-param array<string, mixed> $evaluationContext
26+
* @param array<string, mixed> $configuration
27+
* @param array<string, mixed> $evaluationContext
2828
* @param ProcessingErrors $caughtEvaluationExceptions
2929
* @return RootTemplate
3030
*/
@@ -145,9 +145,9 @@ private function createTemplateFromTemplatePart(TemplatePart $templatePart): Tem
145145
}
146146

147147
/**
148-
* @psalm-param mixed $rawConfigurationValue
149-
* @psalm-param array<string, mixed> $evaluationContext
150-
* @psalm-return mixed
148+
* @param mixed $rawConfigurationValue
149+
* @param array<string, mixed> $evaluationContext
150+
* @return mixed
151151
* @throws \Neos\Eel\ParserException|\Exception
152152
*/
153153
private function preprocessConfigurationValue($rawConfigurationValue, array $evaluationContext)

Classes/Domain/TemplateConfiguration/TemplatePart.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class TemplatePart
3030

3131
/**
3232
* @psalm-readonly
33-
* @psalm-var \Closure(mixed $value, array<string, mixed> $evaluationContext): mixed
33+
* @var \Closure(mixed $value, array<string, mixed> $evaluationContext): mixed
3434
*/
3535
private \Closure $configurationValueProcessor;
3636

@@ -40,9 +40,9 @@ class TemplatePart
4040
private ProcessingErrors $processingErrors;
4141

4242
/**
43-
* @psalm-param array<string, mixed> $configuration
44-
* @psalm-param array<string, mixed> $evaluationContext
45-
* @psalm-param \Closure(mixed $value, array<string, mixed> $evaluationContext): mixed $configurationValueProcessor
43+
* @param array<string, mixed> $configuration
44+
* @param array<string, mixed> $evaluationContext
45+
* @param \Closure(mixed $value, array<string, mixed> $evaluationContext): mixed $configurationValueProcessor
4646
* @throws StopBuildingTemplatePartException
4747
*/
4848
private function __construct(
@@ -61,9 +61,9 @@ private function __construct(
6161
}
6262

6363
/**
64-
* @psalm-param array<string, mixed> $configuration
65-
* @psalm-param array<string, mixed> $evaluationContext
66-
* @psalm-param \Closure(mixed $value, array<string, mixed> $evaluationContext): mixed $configurationValueProcessor
64+
* @param array<string, mixed> $configuration
65+
* @param array<string, mixed> $evaluationContext
66+
* @param \Closure(mixed $value, array<string, mixed> $evaluationContext): mixed $configurationValueProcessor
6767
* @throws StopBuildingTemplatePartException
6868
*/
6969
public static function createRoot(
@@ -102,7 +102,7 @@ public function getFullPathToConfiguration(): array
102102
}
103103

104104
/**
105-
* @psalm-param string|list<string> $configurationPath
105+
* @param string|list<string> $configurationPath
106106
* @throws StopBuildingTemplatePartException
107107
*/
108108
public function withConfigurationByConfigurationPath($configurationPath): self
@@ -117,7 +117,7 @@ public function withConfigurationByConfigurationPath($configurationPath): self
117117
}
118118

119119
/**
120-
* @psalm-param array<string, mixed> $evaluationContext
120+
* @param array<string, mixed> $evaluationContext
121121
*/
122122
public function withMergedEvaluationContext(array $evaluationContext): self
123123
{
@@ -134,7 +134,7 @@ public function withMergedEvaluationContext(array $evaluationContext): self
134134
}
135135

136136
/**
137-
* @psalm-param string|list<string> $configurationPath
137+
* @param string|list<string> $configurationPath
138138
* @return mixed
139139
* @throws StopBuildingTemplatePartException
140140
*/
@@ -185,7 +185,7 @@ public function getRawConfiguration($configurationPath)
185185
}
186186

187187
/**
188-
* @psalm-param string|list<string> $configurationPath
188+
* @param string|list<string> $configurationPath
189189
*/
190190
public function hasConfiguration($configurationPath): bool
191191
{

0 commit comments

Comments
 (0)