Skip to content

Commit

Permalink
Remove left over upload doc call-outs
Browse files Browse the repository at this point in the history
  • Loading branch information
bcordis committed Jan 17, 2025
1 parent c090adc commit d3bc071
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
1 change: 0 additions & 1 deletion admin/src/Addons/Servers/Legacy/CWMAddonLegacy.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
use Exception;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\Input\Input;

/**
* Class CWMAddonLegacy
Expand Down
15 changes: 7 additions & 8 deletions admin/src/Addons/Servers/Youtube/CWMAddonYoutube.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

use CWM\Component\Proclaim\Administrator\Addons\CWMAddon;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Input\Input;
use Joomla\CMS\Language\Text;

/**
Expand Down Expand Up @@ -48,13 +47,13 @@ class CWMAddonYoutube extends CWMAddon
/**
* Upload
*
* @param array|Input $data Data to upload
* @param ?array $data Data to upload
*
* @return array
*
* @since 9.0.0
*/
public function upload(\Joomla\Input\Input|array $data): mixed
public function upload(?array $data): mixed
{
// Holds for nothing
return $data;
Expand All @@ -63,8 +62,8 @@ public function upload(\Joomla\Input\Input|array $data): mixed
/**
* Render Fields for general view.
*
* @param object $media_form Medea files form
* @param bool $new If media is new
* @param object $media_form Medea files form
* @param bool $new If media is new
*
* @return string
*
Expand Down Expand Up @@ -104,8 +103,8 @@ public function renderGeneral($media_form, bool $new): string
/**
* Render Layout and fields
*
* @param object $media_form Medea files form
* @param bool $new If media is new
* @param object $media_form Medea files form
* @param bool $new If media is new
*
* @return string
*
Expand Down Expand Up @@ -156,7 +155,7 @@ public function render($media_form, bool $new): string
/**
* Youtube url to embed.
*
* @param string $url YouTube url to transform.
* @param string $url YouTube url to transform.
*
* @return string
*
Expand Down

0 comments on commit d3bc071

Please sign in to comment.