Version 5.0.0 beta 4
This commit is contained in:
1 parent
e86153356a
commit
2f24f9de48
276 files changed
+8614
-6044
No files matched your search
@@ -60,7 +60,7 @@ trait Xenforo
|
||||
* @param string $xfTwoTitle XF2 Phrase Title
|
||||
* @return string|null
|
||||
*/
|
||||
protected function getPhrase( $xfOneTitle, $xfTwoTitle )
|
||||
protected function getPhrase( string $xfOneTitle, string $xfTwoTitle ) : ?string
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -76,7 +76,7 @@ trait Xenforo
|
||||
/**
|
||||
* @brief Cache sprite image objects
|
||||
*/
|
||||
protected $_spriteImages = array();
|
||||
protected array $_spriteImages = array();
|
||||
|
||||
/**
|
||||
* Return image from sprite - We must use GD for this, it's generally available on most servers
|
||||
@@ -90,7 +90,7 @@ trait Xenforo
|
||||
* @throws OutOfRangeException
|
||||
* @throws InvalidArgumentException
|
||||
*/
|
||||
protected function _imageFromSprite( $sprite, $spriteParams )
|
||||
protected function _imageFromSprite( string $sprite, array $spriteParams ) : array
|
||||
{
|
||||
$key = md5( $sprite );
|
||||
|
||||
|
||||
Reference in new issue
Block a user