mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-08 08:35:31 +02:00
[ticket/11768] Updated annotations to pass sniff
PHPBB3-11768
This commit is contained in:
parent
ca9f534409
commit
cf39b02891
@ -145,7 +145,7 @@ class factory implements \phpbb\textformatter\cache
|
|||||||
/**
|
/**
|
||||||
* Generate and return a new configured instance of s9e\TextFormatter\Configurator
|
* Generate and return a new configured instance of s9e\TextFormatter\Configurator
|
||||||
*
|
*
|
||||||
* @return s9e\TextFormatter\Configurator
|
* @return Configurator
|
||||||
*/
|
*/
|
||||||
public function get_configurator()
|
public function get_configurator()
|
||||||
{
|
{
|
||||||
|
@ -39,7 +39,7 @@ class parser extends \phpbb\textformatter\parser
|
|||||||
* @param phpbb\cache\driver_interface $cache
|
* @param phpbb\cache\driver_interface $cache
|
||||||
* @param string $key Cache key
|
* @param string $key Cache key
|
||||||
* @param phpbb\user $user
|
* @param phpbb\user $user
|
||||||
* @param Symfony\Component\DependencyInjection\ContainerInterface $container
|
* @param ContainerInterface $container
|
||||||
* @return null
|
* @return null
|
||||||
*/
|
*/
|
||||||
public function __construct(\phpbb\cache\driver\driver_interface $cache, $key, \phpbb\user $user, ContainerInterface $container)
|
public function __construct(\phpbb\cache\driver\driver_interface $cache, $key, \phpbb\user $user, ContainerInterface $container)
|
||||||
@ -218,7 +218,7 @@ class parser extends \phpbb\textformatter\parser
|
|||||||
*
|
*
|
||||||
* @param string $height
|
* @param string $height
|
||||||
* @param integer $max_height
|
* @param integer $max_height
|
||||||
* @param s9e\TextFormatter\Parser\Logger $logger
|
* @param Logger $logger
|
||||||
* @return mixed Original value if valid, FALSE otherwise
|
* @return mixed Original value if valid, FALSE otherwise
|
||||||
*/
|
*/
|
||||||
static public function filter_flash_height($height, $max_height, Logger $logger)
|
static public function filter_flash_height($height, $max_height, Logger $logger)
|
||||||
@ -240,7 +240,7 @@ class parser extends \phpbb\textformatter\parser
|
|||||||
*
|
*
|
||||||
* @param string $width
|
* @param string $width
|
||||||
* @param integer $max_width
|
* @param integer $max_width
|
||||||
* @param s9e\TextFormatter\Parser\Logger $logger
|
* @param Logger $logger
|
||||||
* @return mixed Original value if valid, FALSE otherwise
|
* @return mixed Original value if valid, FALSE otherwise
|
||||||
*/
|
*/
|
||||||
static public function filter_flash_width($width, $max_width, Logger $logger)
|
static public function filter_flash_width($width, $max_width, Logger $logger)
|
||||||
@ -262,7 +262,7 @@ class parser extends \phpbb\textformatter\parser
|
|||||||
*
|
*
|
||||||
* @param string $size Original size
|
* @param string $size Original size
|
||||||
* @param integer $max_size Maximum allowed size
|
* @param integer $max_size Maximum allowed size
|
||||||
* @param s9e\TextFormatter\Parser\Logger $logger
|
* @param Logger $logger
|
||||||
* @return mixed Original value if valid, FALSE otherwise
|
* @return mixed Original value if valid, FALSE otherwise
|
||||||
*/
|
*/
|
||||||
static public function filter_font_size($size, $max_size, Logger $logger)
|
static public function filter_font_size($size, $max_size, Logger $logger)
|
||||||
@ -289,7 +289,7 @@ class parser extends \phpbb\textformatter\parser
|
|||||||
*
|
*
|
||||||
* @param string $url Original URL
|
* @param string $url Original URL
|
||||||
* @param array $url_config Config used by the URL filter
|
* @param array $url_config Config used by the URL filter
|
||||||
* @param s9e\TextFormatter\Parser\Logger $logger
|
* @param Logger $logger
|
||||||
* @param integer $max_height Maximum height allowed
|
* @param integer $max_height Maximum height allowed
|
||||||
* @param integer $max_width Maximum width allowed
|
* @param integer $max_width Maximum width allowed
|
||||||
* @return string|bool Original value if valid, FALSE otherwise
|
* @return string|bool Original value if valid, FALSE otherwise
|
||||||
|
@ -50,9 +50,9 @@ class renderer extends \phpbb\textformatter\renderer
|
|||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param phpbb\cache\driver\driver_interface $cache
|
* @param phpbb\cache\driver\driver_interface $cache
|
||||||
* @param string $cache_dir Path to the cache dir
|
* @param string $cache_dir Path to the cache dir
|
||||||
* @param string $key Cache key
|
* @param string $key Cache key
|
||||||
* @param Symfony\Component\DependencyInjection\ContainerInterface $container
|
* @param ContainerInterface $container
|
||||||
* @return null
|
* @return null
|
||||||
*/
|
*/
|
||||||
public function __construct(\phpbb\cache\driver\driver_interface $cache, $cache_dir, $key, ContainerInterface $container)
|
public function __construct(\phpbb\cache\driver\driver_interface $cache, $cache_dir, $key, ContainerInterface $container)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user