@@ -15,7 +15,7 @@ |
||
| 15 | 15 | * If $prayfile is not null, all the data for this block |
| 16 | 16 | * will be read from the PRAYFile. |
| 17 | 17 | * @param PRAYFile $prayfile The PRAYFile this LIVEBlock belongs to. |
| 18 | - * @param $name The name of this block |
|
| 18 | + * @param string $name The name of this block |
|
| 19 | 19 | * @param $content The binary data of this file block. |
| 20 | 20 | * @param $flags The block's flags. See PrayBlock. |
| 21 | 21 | */ |
@@ -287,10 +287,10 @@ |
||
| 287 | 287 | |
| 288 | 288 | /// @brief Creates PrayBlock objects of the correct type. |
| 289 | 289 | /** For developer use. Called by |
| 290 | - * @param $blocktype The type of PRAYBlock, as one of the Block Types defines. |
|
| 290 | + * @param string|false $blocktype The type of PRAYBlock, as one of the Block Types defines. |
|
| 291 | 291 | * @param $prayfile The PRAYFile object that the PRAYBlock is a child of. This is used to allow blocks to access to each other. |
| 292 | 292 | * @param string $name The name of the PRAYBlock |
| 293 | - * @param $content The binary content of the PRAYBlock, uncompressed if necessary. |
|
| 293 | + * @param string|false $content The binary content of the PRAYBlock, uncompressed if necessary. |
|
| 294 | 294 | * @param $flags The flags given to this PRAYBlock as an integer. |
| 295 | 295 | * return An object that is an instance of a subclass of PrayBlock. |
| 296 | 296 | */ |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | |
| 22 | 22 | /// @brief Creates a new TagBlock |
| 23 | 23 | /** This should be called by all subclasses from their constructors. |
| 24 | - * @param $prayfile The prayfile this block is contained in, or for TagBlocks being created from scratch, the initial tags array. Can be null. |
|
| 24 | + * @param PRAYFile $prayfile The prayfile this block is contained in, or for TagBlocks being created from scratch, the initial tags array. Can be null. |
|
| 25 | 25 | * @param $name The name of the block. Cannot be null. |
| 26 | 26 | * @param $content The binary data this block contains. Can be null. |
| 27 | 27 | * @param $flags The flags relating to this block. Should be zero or real flags. |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | * they use names longer than 3 characters, you will need to |
| 134 | 134 | * override this function in your class to provide extra magic. |
| 135 | 135 | * @endinternal |
| 136 | - * @param $type The type of SpriteFrame to convert this to. |
|
| 136 | + * @param string $type The type of SpriteFrame to convert this to. |
|
| 137 | 137 | */ |
| 138 | 138 | public function ToSpriteFrame($type) { |
| 139 | 139 | $this->EnsureDecoded(); |
@@ -17,8 +17,8 @@ |
||
| 17 | 17 | /// @brief Constructs a new COBFileBlock |
| 18 | 18 | /** |
| 19 | 19 | * @param string $type The file type |
| 20 | - * @param $name The file name (including extension) |
|
| 21 | - * @param $contents The contents of the file |
|
| 20 | + * @param string $name The file name (including extension) |
|
| 21 | + * @param string|false $contents The contents of the file |
|
| 22 | 22 | */ |
| 23 | 23 | public function COBFileBlock($type, $name, $contents) { |
| 24 | 24 | parent::COBBlock(COB_BLOCK_FILE); |
@@ -12,8 +12,8 @@ |
||
| 12 | 12 | |
| 13 | 13 | /// @brief Creates a new COBUnknown block with the given type and contents |
| 14 | 14 | /** |
| 15 | - * @param $type The four-character type of the block |
|
| 16 | - * @param $contents The contents of the block |
|
| 15 | + * @param string $type The four-character type of the block |
|
| 16 | + * @param string $contents The contents of the block |
|
| 17 | 17 | */ |
| 18 | 18 | public function COBUnknownBlock($type, $contents) { |
| 19 | 19 | parent::COBBlock($type); |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | /** @return string |
| 24 | 24 | */ |
| 25 | 25 | public function Compile() { |
| 26 | - return $this->GetType() . $this->contents; |
|
| 26 | + return $this->GetType().$this->contents; |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | /// @brief Gets the block's contents |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | * If $prayfile is not null, all the data for this block |
| 14 | 14 | * will be read from the PRAYFile. |
| 15 | 15 | * @param PRAYFile $prayfile The PRAYFile that this DFAM block belongs to. |
| 16 | - * @param $name The block's name. |
|
| 16 | + * @param string $name The block's name. |
|
| 17 | 17 | * @param $content The binary data of this block. May be null. |
| 18 | 18 | * @param $flags The block's flags |
| 19 | 19 | */ |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | * If $prayfile is not null, all the data for this block |
| 14 | 14 | * will be read from the PRAYFile. |
| 15 | 15 | * @param PRAYFile $prayfile The PRAYFile that this DFAM block belongs to. |
| 16 | - * @param $name The block's name. |
|
| 16 | + * @param string $name The block's name. |
|
| 17 | 17 | * @param $content The binary data of this block. May be null. |
| 18 | 18 | * @param $flags The block's flags |
| 19 | 19 | */ |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * If $prayfile is not null, all the data for this block |
| 13 | 13 | * will be read from the PRAYFile. |
| 14 | 14 | * @param PRAYFile $prayfile The PRAYFile that this DSAG block belongs to. |
| 15 | - * @param $name The block's name. |
|
| 15 | + * @param string $name The block's name. |
|
| 16 | 16 | * @param $content The binary data of this block. May be null. |
| 17 | 17 | * @param $flags The block's flags |
| 18 | 18 | */ |