@@ -31,6 +31,11 @@ discard block |
||
31 | 31 | */ |
32 | 32 | protected $bodyExpressions = []; |
33 | 33 | |
34 | + /** |
|
35 | + * @param string $callableId |
|
36 | + * @param string|null $scopeType |
|
37 | + * @param string|null $namespace |
|
38 | + */ |
|
34 | 39 | final public function __construct( |
35 | 40 | $callableId, |
36 | 41 | $scopeType, |
@@ -67,7 +72,7 @@ discard block |
||
67 | 72 | /** |
68 | 73 | * Gets a callable factory for the function structure. |
69 | 74 | * |
70 | - * @return callable |
|
75 | + * @return \Closure |
|
71 | 76 | */ |
72 | 77 | public static function factory() |
73 | 78 | { |
@@ -121,6 +126,9 @@ discard block |
||
121 | 126 | return $this->bodyExpressions === null; |
122 | 127 | } |
123 | 128 | |
129 | + /** |
|
130 | + * @param string $method |
|
131 | + */ |
|
124 | 132 | final protected function verifyNotInternal($method) |
125 | 133 | { |
126 | 134 | if ($this->isInternal()) { |
@@ -118,7 +118,7 @@ |
||
118 | 118 | * |
119 | 119 | * @param IResolvedParameterRegistry|null $parameters |
120 | 120 | * |
121 | - * @return O\IEvaluationContext |
|
121 | + * @return null|O\IEvaluationContext |
|
122 | 122 | */ |
123 | 123 | public function getEvaluationContext(IResolvedParameterRegistry $parameters = null) |
124 | 124 | { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | * Gets an array containing the parameter ids as keys with their |
58 | 58 | * respective scoped variable name as the value. |
59 | 59 | * |
60 | - * @return array<string, string> |
|
60 | + * @return string[] string> |
|
61 | 61 | */ |
62 | 62 | public function getParameterScopedVariableMap(); |
63 | 63 |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Pinq\Expressions as O; |
6 | 6 | use Pinq\Iterators\IIteratorScheme; |
7 | 7 | use Pinq\Queries\Requests; |
8 | -use Pinq\Queries\Segments; |
|
9 | 8 | |
10 | 9 | /** |
11 | 10 | * The standard queryable class, fully implements the queryable API |
@@ -51,7 +51,7 @@ |
||
51 | 51 | * appended to the current scope |
52 | 52 | * |
53 | 53 | * @param string $name |
54 | - * @param mixed[] $arguments |
|
54 | + * @param callable[] $arguments |
|
55 | 55 | * |
56 | 56 | * @return IQueryable |
57 | 57 | */ |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | * @param IIteratorScheme|null $scheme |
61 | 61 | * @param Traversable|null $source |
62 | 62 | * |
63 | - * @return callable |
|
63 | + * @return \Closure |
|
64 | 64 | */ |
65 | 65 | public static function factory(IIteratorScheme $scheme = null, Traversable $source = null) |
66 | 66 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * Returns a callable factory to construct an equivalent |
77 | 77 | * instance with the supplied elements. |
78 | 78 | * |
79 | - * @return callable |
|
79 | + * @return \Closure |
|
80 | 80 | */ |
81 | 81 | final protected function scopedSelfFactory() |
82 | 82 | { |