Couldn't use withoutApproval() showing this error #21
-
I am trying to use it like this
|
Beta Was this translation helpful? Give feedback.
Answered by
cjmellor
Mar 20, 2023
Replies: 1 comment 1 reply
-
Hi, The $property = new Property();
$property->withoutApproval()->create(...); Will work |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
khagesh007
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
The
withoutApproval()
method cannot be called statically.Will work