Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A template for creating new objects that describes the common state(s) and behavior(s). NOT TO BE CONFUSED WITH CSS CLASSES. Use [css] instead.
0
votes
1
answer
49
views
Syntax error on class name added to property declaration?
I'm using Magento 2.4.2-p1, Apache 2.4.54, php 7.4, and am getting a ParseError: syntax error when a class name is declared with a property declaration - is this expected? is there a work around? … From what I can tell you should be able to use a classname as of 7.4, and the same code is working in an nginx environment:
use Magento\Customer\Api\Data\GroupInterfaceFactory;
...
class CreateCustomerGroup …
0
votes
Syntax error on class name added to property declaration?
Removed generated/*, var/cache and var/page_cache and the error is no longer visible