diff --git a/tests/MacroTest.php b/tests/MacroTest.php index f1cce9a..6b18c54 100644 --- a/tests/MacroTest.php +++ b/tests/MacroTest.php @@ -242,13 +242,11 @@ class MacroTest extends TestCase $macro = new Macro($reflectionMethod, 'URL', new ReflectionClass(UrlGenerator::class), 'macroName'); $output = <<<'DOC' /** - * - * * @param string $foo * @param int $bar - * @return string + * @return string * @see \Barryvdh\LaravelIdeHelper\Tests\UrlGeneratorMacroClass::__invoke() - * @static + * @static */ DOC; $this->assertSame($output, $macro->getDocComment('')); diff --git a/tests/MethodTest.php b/tests/MethodTest.php index e48a9af..4821e44 100644 --- a/tests/MethodTest.php +++ b/tests/MethodTest.php @@ -36,12 +36,10 @@ class MethodTest extends TestCase $output = <<<'DOC' /** - * - * * @param string $last * @param string $first * @param string $middle - * @static + * @static */ DOC; $this->assertSame($output, $method->getDocComment('')); @@ -71,8 +69,8 @@ DOC; * @param array $values * @param array|string $uniqueBy * @param array|null $update - * @return int - * @static + * @return int + * @static */ DOC; $this->assertSame($output, $method->getDocComment('')); @@ -104,8 +102,8 @@ DOC; * @param mixed $operator * @param mixed $value * @param string $boolean - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ DOC; $this->assertSame($output, $method->getDocComment('')); @@ -134,8 +132,8 @@ DOC; * @param string|array|\Illuminate\Contracts\Database\Query\Expression $columns * @param string $boolean * @param bool $not - * @return \Illuminate\Database\Eloquent\Builder - * @static + * @return \Illuminate\Database\Eloquent\Builder + * @static */ DOC; @@ -177,10 +175,8 @@ DOC; $output = <<<'DOC' /** - * - * - * @return \Illuminate\Foundation\Application - * @static + * @return \Illuminate\Foundation\Application + * @static */ DOC; @@ -208,8 +204,8 @@ DOC; * @template TValue * @param (\Closure(): TValue)|list $columns * @param (\Closure(): TValue)|null $callback - * @return TModel|TValue - * @static + * @return TModel|TValue + * @static */ DOC; $this->assertSame($output, $method->getDocComment(''));