@@ -17,7 +17,7 @@ |
||
17 | 17 | * If $prayfile is not null, all the data for this block |
18 | 18 | * will be read from the PRAYFile. |
19 | 19 | * @param PRAYFile $prayfile The PRAYFile that this DSAG block belongs to. |
20 | - * @param $name The block's name. |
|
20 | + * @param string $name The block's name. |
|
21 | 21 | * @param $content The binary data of this block. May be null. |
22 | 22 | * @param $flags The block's flags |
23 | 23 | */ |
@@ -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); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | * will be read from the PRAYFile. |
15 | 15 | * @param PRAYFile $prayfile The PRAYFile associated with this AGNT block. |
16 | 16 | * It is allowed to be null. |
17 | - * @param $name The name of this block. |
|
17 | + * @param string $name The name of this block. |
|
18 | 18 | * @param $content This block's content. |
19 | 19 | * @param $flags Any flags this block may have. I think this is a |
20 | 20 | * single byte. Check http://www.creatureswiki.net/wiki/PRAY |
@@ -17,7 +17,7 @@ |
||
17 | 17 | * If $prayfile is not null, all the data for this block |
18 | 18 | * will be read from the PRAYFile. |
19 | 19 | * @param PRAYFile $prayfile The PRAYFile that this DSAG block belongs to. |
20 | - * @param $name The block's name. |
|
20 | + * @param string $name The block's name. |
|
21 | 21 | * @param $content The binary data of this block. May be null. |
22 | 22 | * @param $flags The block's flags |
23 | 23 | */ |
@@ -17,7 +17,7 @@ |
||
17 | 17 | * If $prayfile is not null, all the data for this block |
18 | 18 | * will be read from the PRAYFile. |
19 | 19 | * @param PRAYFile $prayfile The PRAYFile that this DSAG block belongs to. |
20 | - * @param $name The block's name. |
|
20 | + * @param string $name The block's name. |
|
21 | 21 | * @param $content The binary data of this block. May be null. |
22 | 22 | * @param $flags The block's flags |
23 | 23 | */ |
@@ -17,7 +17,7 @@ |
||
17 | 17 | * If $prayfile is not null, all the data for this block |
18 | 18 | * will be read from the PRAYFile. |
19 | 19 | * @param PRAYFile $prayfile The PRAYFile that this DSAG block belongs to. |
20 | - * @param $name The block's name. |
|
20 | + * @param string $name The block's name. |
|
21 | 21 | * @param $content The binary data of this block. May be null. |
22 | 22 | * @param $flags The block's flags |
23 | 23 | */ |