Method Improved\IteratorPipeline\Pipeline::expectType() return type has no value type specified in iterable type static(Improved\IteratorPipeline\Pipeline).
Method Improved\IteratorPipeline\Pipeline::expectType() should return static(Improved\IteratorPipeline\Pipeline) but returns Improved\IteratorPipeline\Pipeline.
Loading history...
35
}
36
37
/**
38
* Validate that a value has a specific type.
39
*
40
* @param string|string[] $type
41
* @param \Throwable|null $throwable
42
* @return static
43
*/
44
3
public function typeCheck($type, ?\Throwable $throwable = null)
Method Improved\IteratorPipeline\Pipeline::typeCheck() return type has no value type specified in iterable type static(Improved\IteratorPipeline\Pipeline).
Method Improved\IteratorPipeline\Pipeline::typeCheck() should return static(Improved\IteratorPipeline\Pipeline) but returns Improved\IteratorPipeline\Pipeline.
Loading history...
47
}
48
49
/**
50
* Cast a value to the specific type or throw an error.
51
*
52
* @param string $type
53
* @param \Throwable|null $throwable
54
* @return static
55
*/
56
3
public function typeCast(string $type, ?\Throwable $throwable = null)
Method Improved\IteratorPipeline\Pipeline::typeCast() return type has no value type specified in iterable type static(Improved\IteratorPipeline\Pipeline).
Method Improved\IteratorPipeline\Pipeline::typeCast() should return static(Improved\IteratorPipeline\Pipeline) but returns Improved\IteratorPipeline\Pipeline.