You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lines 24-25
It's better to use <sup> tag for these values
Line 29
Constants must be defined at the top of the class.
Line 43
The function should be removed as it's only function is to wrap the native one. Use the native function without any wrappers.
Lines 52-54
Use is_created() method here. Method requires refactoring.
Line 84, Line 93,
Line 112,
Line 121
These functions should be removed as their only function is to wrap the native one. Use the native function without any wrappers.
Lines 131-132
To many spaces/tabs before the = (equal) sign, single space expected.
Line 144, Line 158
Methods are the same, single method should be used instead.
Code Review: models\model-settings.php
It's better to use
<sup>
tag for these valuesConstants must be defined at the top of the class.
The function should be removed as it's only function is to wrap the native one. Use the native function without any wrappers.
Use
is_created()
method here. Method requires refactoring.Line 112,
Line 121
These functions should be removed as their only function is to wrap the native one. Use the native function without any wrappers.
To many spaces/tabs before the
=
(equal) sign, single space expected.Methods are the same, single method should be used instead.
Use single space before & after the
=
sign.Check if array key exists before returning the value.
DRY: do not repeat yourself. This method requires refactoring.
The text was updated successfully, but these errors were encountered: