mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-17 17:47:13 +00:00
update strings
This commit is contained in:
+2
-4
@@ -242,13 +242,11 @@ class MacroTest extends TestCase
|
|||||||
$macro = new Macro($reflectionMethod, 'URL', new ReflectionClass(UrlGenerator::class), 'macroName');
|
$macro = new Macro($reflectionMethod, 'URL', new ReflectionClass(UrlGenerator::class), 'macroName');
|
||||||
$output = <<<'DOC'
|
$output = <<<'DOC'
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
*
|
|
||||||
* @param string $foo
|
* @param string $foo
|
||||||
* @param int $bar
|
* @param int $bar
|
||||||
* @return string
|
* @return string
|
||||||
* @see \Barryvdh\LaravelIdeHelper\Tests\UrlGeneratorMacroClass::__invoke()
|
* @see \Barryvdh\LaravelIdeHelper\Tests\UrlGeneratorMacroClass::__invoke()
|
||||||
* @static
|
* @static
|
||||||
*/
|
*/
|
||||||
DOC;
|
DOC;
|
||||||
$this->assertSame($output, $macro->getDocComment(''));
|
$this->assertSame($output, $macro->getDocComment(''));
|
||||||
|
|||||||
+11
-15
@@ -36,12 +36,10 @@ class MethodTest extends TestCase
|
|||||||
|
|
||||||
$output = <<<'DOC'
|
$output = <<<'DOC'
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
*
|
|
||||||
* @param string $last
|
* @param string $last
|
||||||
* @param string $first
|
* @param string $first
|
||||||
* @param string $middle
|
* @param string $middle
|
||||||
* @static
|
* @static
|
||||||
*/
|
*/
|
||||||
DOC;
|
DOC;
|
||||||
$this->assertSame($output, $method->getDocComment(''));
|
$this->assertSame($output, $method->getDocComment(''));
|
||||||
@@ -71,8 +69,8 @@ DOC;
|
|||||||
* @param array $values
|
* @param array $values
|
||||||
* @param array|string $uniqueBy
|
* @param array|string $uniqueBy
|
||||||
* @param array|null $update
|
* @param array|null $update
|
||||||
* @return int
|
* @return int
|
||||||
* @static
|
* @static
|
||||||
*/
|
*/
|
||||||
DOC;
|
DOC;
|
||||||
$this->assertSame($output, $method->getDocComment(''));
|
$this->assertSame($output, $method->getDocComment(''));
|
||||||
@@ -104,8 +102,8 @@ DOC;
|
|||||||
* @param mixed $operator
|
* @param mixed $operator
|
||||||
* @param mixed $value
|
* @param mixed $value
|
||||||
* @param string $boolean
|
* @param string $boolean
|
||||||
* @return \Illuminate\Database\Eloquent\Builder<static>
|
* @return \Illuminate\Database\Eloquent\Builder<static>
|
||||||
* @static
|
* @static
|
||||||
*/
|
*/
|
||||||
DOC;
|
DOC;
|
||||||
$this->assertSame($output, $method->getDocComment(''));
|
$this->assertSame($output, $method->getDocComment(''));
|
||||||
@@ -134,8 +132,8 @@ DOC;
|
|||||||
* @param string|array|\Illuminate\Contracts\Database\Query\Expression $columns
|
* @param string|array|\Illuminate\Contracts\Database\Query\Expression $columns
|
||||||
* @param string $boolean
|
* @param string $boolean
|
||||||
* @param bool $not
|
* @param bool $not
|
||||||
* @return \Illuminate\Database\Eloquent\Builder<static>
|
* @return \Illuminate\Database\Eloquent\Builder<static>
|
||||||
* @static
|
* @static
|
||||||
*/
|
*/
|
||||||
DOC;
|
DOC;
|
||||||
|
|
||||||
@@ -177,10 +175,8 @@ DOC;
|
|||||||
|
|
||||||
$output = <<<'DOC'
|
$output = <<<'DOC'
|
||||||
/**
|
/**
|
||||||
*
|
* @return \Illuminate\Foundation\Application
|
||||||
*
|
* @static
|
||||||
* @return \Illuminate\Foundation\Application
|
|
||||||
* @static
|
|
||||||
*/
|
*/
|
||||||
DOC;
|
DOC;
|
||||||
|
|
||||||
@@ -208,8 +204,8 @@ DOC;
|
|||||||
* @template TValue
|
* @template TValue
|
||||||
* @param (\Closure(): TValue)|list<string> $columns
|
* @param (\Closure(): TValue)|list<string> $columns
|
||||||
* @param (\Closure(): TValue)|null $callback
|
* @param (\Closure(): TValue)|null $callback
|
||||||
* @return TModel|TValue
|
* @return TModel|TValue
|
||||||
* @static
|
* @static
|
||||||
*/
|
*/
|
||||||
DOC;
|
DOC;
|
||||||
$this->assertSame($output, $method->getDocComment(''));
|
$this->assertSame($output, $method->getDocComment(''));
|
||||||
|
|||||||
Reference in New Issue
Block a user