This repository was archived by the owner on Jan 31, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 14
14
use ZendTest \Validator \File \TestAsset \FileInformation ;
15
15
use Zend \Validator \Exception \InvalidArgumentException ;
16
16
17
- /**
18
- * @group Zend_Validator
19
- */
20
17
class FileInformationTraitTest extends TestCase
21
18
{
22
- /** @var ObjectProphecy */
19
+ /** @var ObjectProphecy|StreamInterface */
23
20
public $ stream ;
24
21
25
22
/** @var ObjectProphecy */
Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ class FileInformation
20
20
* Returns array if the procedure is identified
21
21
*
22
22
* @param string|array|object $value Filename to check
23
- * @param array $file File data from \Zend\File\Transfer\Transfer (optional )
23
+ * @param null| array $file File data (when using legacy Zend_File_Transfer API )
24
24
* @param bool $hasType Return with filetype (optional)
25
25
* @param bool $basename Return with basename - is calculated from location path (optional)
26
26
* @return array
27
27
*/
28
28
public function checkFileInformation (
29
29
$ value ,
30
- $ file = null ,
30
+ array $ file = null ,
31
31
$ hasType = false ,
32
32
$ hasBasename = false
33
33
) {
You can’t perform that action at this time.
0 commit comments