mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-02-21 20:20:34 +09:00
Remove redundant typing from DocBlocks
This commit is contained in:
@@ -9,8 +9,6 @@ trait CreatesApplication
|
||||
{
|
||||
/**
|
||||
* Creates the application.
|
||||
*
|
||||
* @return \Illuminate\Foundation\Application
|
||||
*/
|
||||
public function createApplication(): Application
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user