You are a developer and looking for Shopware projects?
Apply Now!
negate example
$getterTypes
=
$this
->typeSpecifier->
create
(
$getExpr
,
TypeCombinator::
removeNull
(
$scope
->
getType
(
$getExpr
)
)
,
$context
)
;
return
$getterTypes
->
unionWith
(
$this
->typeSpecifier->
create
(
$getExpr
,
new
NullType
(
)
,
$context
->
negate
(
)
)
)
;
}
public
function
setTypeSpecifier
(
TypeSpecifier
$typeSpecifier
)
: void
{
$this
->typeSpecifier =
$typeSpecifier
;
}
}