Remove useless `@static` annotations
This commit is contained in:
parent
069c665e56
commit
3e6a419b6d
|
@ -10,7 +10,6 @@ class IOFactory
|
||||||
* Search locations.
|
* Search locations.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @static
|
|
||||||
*/
|
*/
|
||||||
private static $searchLocations = [
|
private static $searchLocations = [
|
||||||
['type' => 'IWriter', 'path' => 'PhpSpreadsheet/Writer/{0}.php', 'class' => '\\PhpOffice\\PhpSpreadsheet\\Writer\\{0}'],
|
['type' => 'IWriter', 'path' => 'PhpSpreadsheet/Writer/{0}.php', 'class' => '\\PhpOffice\\PhpSpreadsheet\\Writer\\{0}'],
|
||||||
|
@ -21,7 +20,6 @@ class IOFactory
|
||||||
* Autoresolve classes.
|
* Autoresolve classes.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @static
|
|
||||||
*/
|
*/
|
||||||
private static $autoResolveClasses = [
|
private static $autoResolveClasses = [
|
||||||
'Xlsx',
|
'Xlsx',
|
||||||
|
@ -44,8 +42,6 @@ class IOFactory
|
||||||
/**
|
/**
|
||||||
* Get search locations.
|
* Get search locations.
|
||||||
*
|
*
|
||||||
* @static
|
|
||||||
*
|
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public static function getSearchLocations()
|
public static function getSearchLocations()
|
||||||
|
@ -56,8 +52,6 @@ class IOFactory
|
||||||
/**
|
/**
|
||||||
* Set search locations.
|
* Set search locations.
|
||||||
*
|
*
|
||||||
* @static
|
|
||||||
*
|
|
||||||
* @param array $value
|
* @param array $value
|
||||||
*
|
*
|
||||||
* @throws Reader\Exception
|
* @throws Reader\Exception
|
||||||
|
@ -70,8 +64,6 @@ class IOFactory
|
||||||
/**
|
/**
|
||||||
* Add search location.
|
* Add search location.
|
||||||
*
|
*
|
||||||
* @static
|
|
||||||
*
|
|
||||||
* @param string $type Example: IWriter
|
* @param string $type Example: IWriter
|
||||||
* @param string $location Example: PhpSpreadsheet/Writer/{0}.php
|
* @param string $location Example: PhpSpreadsheet/Writer/{0}.php
|
||||||
* @param string $classname Example: Writer\{0}
|
* @param string $classname Example: Writer\{0}
|
||||||
|
@ -84,8 +76,6 @@ class IOFactory
|
||||||
/**
|
/**
|
||||||
* Create Writer\IWriter.
|
* Create Writer\IWriter.
|
||||||
*
|
*
|
||||||
* @static
|
|
||||||
*
|
|
||||||
* @param Spreadsheet $spreadsheet
|
* @param Spreadsheet $spreadsheet
|
||||||
* @param string $writerType Example: Xlsx
|
* @param string $writerType Example: Xlsx
|
||||||
*
|
*
|
||||||
|
@ -126,8 +116,6 @@ class IOFactory
|
||||||
/**
|
/**
|
||||||
* Create Reader\IReader.
|
* Create Reader\IReader.
|
||||||
*
|
*
|
||||||
* @static
|
|
||||||
*
|
|
||||||
* @param string $readerType Example: Xlsx
|
* @param string $readerType Example: Xlsx
|
||||||
*
|
*
|
||||||
* @throws Reader\Exception
|
* @throws Reader\Exception
|
||||||
|
@ -158,8 +146,6 @@ class IOFactory
|
||||||
/**
|
/**
|
||||||
* Loads Spreadsheet from file using automatic Reader\IReader resolution.
|
* Loads Spreadsheet from file using automatic Reader\IReader resolution.
|
||||||
*
|
*
|
||||||
* @static
|
|
||||||
*
|
|
||||||
* @param string $pFilename The name of the spreadsheet file
|
* @param string $pFilename The name of the spreadsheet file
|
||||||
*
|
*
|
||||||
* @throws Reader\Exception
|
* @throws Reader\Exception
|
||||||
|
@ -176,8 +162,6 @@ class IOFactory
|
||||||
/**
|
/**
|
||||||
* Identify file type using automatic Reader\IReader resolution.
|
* Identify file type using automatic Reader\IReader resolution.
|
||||||
*
|
*
|
||||||
* @static
|
|
||||||
*
|
|
||||||
* @param string $pFilename The name of the spreadsheet file to identify
|
* @param string $pFilename The name of the spreadsheet file to identify
|
||||||
*
|
*
|
||||||
* @throws Reader\Exception
|
* @throws Reader\Exception
|
||||||
|
@ -197,8 +181,6 @@ class IOFactory
|
||||||
/**
|
/**
|
||||||
* Create Reader\IReader for file using automatic Reader\IReader resolution.
|
* Create Reader\IReader for file using automatic Reader\IReader resolution.
|
||||||
*
|
*
|
||||||
* @static
|
|
||||||
*
|
|
||||||
* @param string $pFilename The name of the spreadsheet file
|
* @param string $pFilename The name of the spreadsheet file
|
||||||
*
|
*
|
||||||
* @throws Reader\Exception
|
* @throws Reader\Exception
|
||||||
|
|
|
@ -472,8 +472,6 @@ class OLE
|
||||||
/**
|
/**
|
||||||
* Utility function to transform ASCII text to Unicode.
|
* Utility function to transform ASCII text to Unicode.
|
||||||
*
|
*
|
||||||
* @static
|
|
||||||
*
|
|
||||||
* @param string $ascii The ASCII string to transform
|
* @param string $ascii The ASCII string to transform
|
||||||
*
|
*
|
||||||
* @return string The string in Unicode
|
* @return string The string in Unicode
|
||||||
|
@ -493,8 +491,6 @@ class OLE
|
||||||
* Utility function
|
* Utility function
|
||||||
* Returns a string for the OLE container with the date given.
|
* Returns a string for the OLE container with the date given.
|
||||||
*
|
*
|
||||||
* @static
|
|
||||||
*
|
|
||||||
* @param int $date A timestamp
|
* @param int $date A timestamp
|
||||||
*
|
*
|
||||||
* @return string The string for the OLE container
|
* @return string The string for the OLE container
|
||||||
|
@ -539,8 +535,6 @@ class OLE
|
||||||
/**
|
/**
|
||||||
* Returns a timestamp from an OLE container's date.
|
* Returns a timestamp from an OLE container's date.
|
||||||
*
|
*
|
||||||
* @static
|
|
||||||
*
|
|
||||||
* @param int $string A binary string with the encoded date
|
* @param int $string A binary string with the encoded date
|
||||||
*
|
*
|
||||||
* @return string The timestamp corresponding to the string
|
* @return string The timestamp corresponding to the string
|
||||||
|
|
|
@ -121,7 +121,7 @@ class Font
|
||||||
/**
|
/**
|
||||||
* Map of BIFF2-BIFF8 codes for underline styles.
|
* Map of BIFF2-BIFF8 codes for underline styles.
|
||||||
*
|
*
|
||||||
* @static array of int
|
* @var array of int
|
||||||
*/
|
*/
|
||||||
private static $mapUnderline = [
|
private static $mapUnderline = [
|
||||||
\PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_NONE => 0x00,
|
\PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_NONE => 0x00,
|
||||||
|
|
|
@ -347,7 +347,7 @@ class Xf
|
||||||
/**
|
/**
|
||||||
* Map of BIFF2-BIFF8 codes for border styles.
|
* Map of BIFF2-BIFF8 codes for border styles.
|
||||||
*
|
*
|
||||||
* @static array of int
|
* @var array of int
|
||||||
*/
|
*/
|
||||||
private static $mapBorderStyles = [
|
private static $mapBorderStyles = [
|
||||||
Border::BORDER_NONE => 0x00,
|
Border::BORDER_NONE => 0x00,
|
||||||
|
@ -385,7 +385,7 @@ class Xf
|
||||||
/**
|
/**
|
||||||
* Map of BIFF2-BIFF8 codes for fill types.
|
* Map of BIFF2-BIFF8 codes for fill types.
|
||||||
*
|
*
|
||||||
* @static array of int
|
* @var array of int
|
||||||
*/
|
*/
|
||||||
private static $mapFillTypes = [
|
private static $mapFillTypes = [
|
||||||
Fill::FILL_NONE => 0x00,
|
Fill::FILL_NONE => 0x00,
|
||||||
|
@ -430,7 +430,7 @@ class Xf
|
||||||
/**
|
/**
|
||||||
* Map of BIFF2-BIFF8 codes for horizontal alignment.
|
* Map of BIFF2-BIFF8 codes for horizontal alignment.
|
||||||
*
|
*
|
||||||
* @static array of int
|
* @var array of int
|
||||||
*/
|
*/
|
||||||
private static $mapHAlignments = [
|
private static $mapHAlignments = [
|
||||||
Alignment::HORIZONTAL_GENERAL => 0,
|
Alignment::HORIZONTAL_GENERAL => 0,
|
||||||
|
@ -461,7 +461,7 @@ class Xf
|
||||||
/**
|
/**
|
||||||
* Map of BIFF2-BIFF8 codes for vertical alignment.
|
* Map of BIFF2-BIFF8 codes for vertical alignment.
|
||||||
*
|
*
|
||||||
* @static array of int
|
* @var array of int
|
||||||
*/
|
*/
|
||||||
private static $mapVAlignments = [
|
private static $mapVAlignments = [
|
||||||
Alignment::VERTICAL_TOP => 0,
|
Alignment::VERTICAL_TOP => 0,
|
||||||
|
|
|
@ -15,7 +15,7 @@ class Theme extends WriterPart
|
||||||
/**
|
/**
|
||||||
* Map of Major fonts to write.
|
* Map of Major fonts to write.
|
||||||
*
|
*
|
||||||
* @static array of string
|
* @var array of string
|
||||||
*/
|
*/
|
||||||
private static $majorFonts = [
|
private static $majorFonts = [
|
||||||
'Jpan' => 'MS Pゴシック',
|
'Jpan' => 'MS Pゴシック',
|
||||||
|
@ -53,7 +53,7 @@ class Theme extends WriterPart
|
||||||
/**
|
/**
|
||||||
* Map of Minor fonts to write.
|
* Map of Minor fonts to write.
|
||||||
*
|
*
|
||||||
* @static array of string
|
* @var array of string
|
||||||
*/
|
*/
|
||||||
private static $minorFonts = [
|
private static $minorFonts = [
|
||||||
'Jpan' => 'MS Pゴシック',
|
'Jpan' => 'MS Pゴシック',
|
||||||
|
@ -91,7 +91,7 @@ class Theme extends WriterPart
|
||||||
/**
|
/**
|
||||||
* Map of core colours.
|
* Map of core colours.
|
||||||
*
|
*
|
||||||
* @static array of string
|
* @var array of string
|
||||||
*/
|
*/
|
||||||
private static $colourScheme = [
|
private static $colourScheme = [
|
||||||
'dk2' => '1F497D',
|
'dk2' => '1F497D',
|
||||||
|
|
Loading…
Reference in New Issue