Skip to content

Commit 8495c55

Browse files
committed
update strings
1 parent 12c891a commit 8495c55

File tree

2 files changed

+13
-19
lines changed

2 files changed

+13
-19
lines changed

tests/MacroTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,11 @@ public function testOutput()
242242
$macro = new Macro($reflectionMethod, 'URL', new ReflectionClass(UrlGenerator::class), 'macroName');
243243
$output = <<<'DOC'
244244
/**
245-
*
246-
*
247245
* @param string $foo
248246
* @param int $bar
249-
* @return string
247+
* @return string
250248
* @see \Barryvdh\LaravelIdeHelper\Tests\UrlGeneratorMacroClass::__invoke()
251-
* @static
249+
* @static
252250
*/
253251
DOC;
254252
$this->assertSame($output, $macro->getDocComment(''));

tests/MethodTest.php

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,10 @@ public function testOutput()
3636

3737
$output = <<<'DOC'
3838
/**
39-
*
40-
*
4139
* @param string $last
4240
* @param string $first
4341
* @param string $middle
44-
* @static
42+
* @static
4543
*/
4644
DOC;
4745
$this->assertSame($output, $method->getDocComment(''));
@@ -71,8 +69,8 @@ public function testEloquentBuilderOutput()
7169
* @param array $values
7270
* @param array|string $uniqueBy
7371
* @param array|null $update
74-
* @return int
75-
* @static
72+
* @return int
73+
* @static
7674
*/
7775
DOC;
7876
$this->assertSame($output, $method->getDocComment(''));
@@ -104,8 +102,8 @@ public function testEloquentBuilderNormalizedReturnType()
104102
* @param mixed $operator
105103
* @param mixed $value
106104
* @param string $boolean
107-
* @return \Illuminate\Database\Eloquent\Builder<static>
108-
* @static
105+
* @return \Illuminate\Database\Eloquent\Builder<static>
106+
* @static
109107
*/
110108
DOC;
111109
$this->assertSame($output, $method->getDocComment(''));
@@ -134,8 +132,8 @@ public function testQueryBuilderNormalizedReturnType()
134132
* @param string|array|\Illuminate\Contracts\Database\Query\Expression $columns
135133
* @param string $boolean
136134
* @param bool $not
137-
* @return \Illuminate\Database\Eloquent\Builder<static>
138-
* @static
135+
* @return \Illuminate\Database\Eloquent\Builder<static>
136+
* @static
139137
*/
140138
DOC;
141139

@@ -177,10 +175,8 @@ public function testClassAliases()
177175

178176
$output = <<<'DOC'
179177
/**
180-
*
181-
*
182-
* @return \Illuminate\Foundation\Application
183-
* @static
178+
* @return \Illuminate\Foundation\Application
179+
* @static
184180
*/
185181
DOC;
186182

@@ -208,8 +204,8 @@ public function testEloquentBuilderWithTemplates()
208204
* @template TValue
209205
* @param (\Closure(): TValue)|list<string> $columns
210206
* @param (\Closure(): TValue)|null $callback
211-
* @return TModel|TValue
212-
* @static
207+
* @return TModel|TValue
208+
* @static
213209
*/
214210
DOC;
215211
$this->assertSame($output, $method->getDocComment(''));

0 commit comments

Comments
 (0)