Remove redundant typing from DocBlocks

This commit is contained in:
Shift
2024-02-16 21:13:14 +00:00
parent 3487f52a6b
commit f3a5be79dc
53 changed files with 0 additions and 363 deletions

View File

@@ -9,8 +9,6 @@ trait CreatesApplication
{
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication(): Application
{

View File

@@ -9,8 +9,6 @@ class SettingsSeederTest extends TestCase
{
/**
* All language keys are defined in all languages based on the en language file.
*
* @return void
*/
public function test_returns_a_jsonmap_with_same_amount_of_items_as_language_directories_present(): void
{

View File

@@ -6,9 +6,6 @@ use Tests\TestCase;
class IsImageTest extends TestCase
{
/**
* @return void
*/
public function test_returns_true_when_file_is_image(): void
{
$file = file_get_contents(__DIR__ . '/fixtures/heimdall-icon-small.png');
@@ -18,9 +15,6 @@ class IsImageTest extends TestCase
$this->assertTrue($actual);
}
/**
* @return void
*/
public function test_returns_false_when_file_extension_is_image_but_content_is_not(): void
{
$actual = isImage("<?php ?>", "png");
@@ -28,9 +22,6 @@ class IsImageTest extends TestCase
$this->assertFalse($actual);
}
/**
* @return void
*/
public function test_returns_false_when_file_extension_is_not_image_but_content_is(): void
{
$file = file_get_contents(__DIR__ . '/fixtures/heimdall-icon-small.png');

View File

@@ -6,9 +6,6 @@ use Tests\TestCase;
class SlugTest extends TestCase
{
/**
* @return void
*/
public function test_slug_returns_valid_tag_for_cn_characters_when_language_is_set_to_en_US(): void
{
$tag = str_slug('中文測試', '-', 'en_US');

View File

@@ -8,8 +8,6 @@ class LangTest extends TestCase
{
/**
* All language keys are defined in all languages based on the en language file.
*
* @return void
*/
public function test_all_language_keys_are_defined(): void
{