Revert "Used ternary operator instead of "or" for constant definition"
Revert "Used ternary operator instead of "or" for constant definition"

This reverts commit 2bb6f13505e212d68841a7e6609806fb30d04002.

schmunk42/yii2-apidoc,bisubus/yii2-apidocchm,yiisoft/yii2-apidoc,pana1990/yii2-apidoc