Closed swissspidy closed 6 years ago
@swissspidy Do you have more information why $project->get_id()
is better then $project->id
or the reference to the API? I could find the information but if you have done the research you could find it quicker.
Simply put, $project->id
does not exist 🙂
$project
is an instance of Traduttore's own Project
class, which is a decorator for GP_Project
. Project::get_id()
calls GP_Project::$id
under the hood.
The change here simply fixes this bug and makes it consistent with the other CLI controllers.
Codecov Report
0% <0%> (ø)
6 <0> (ø)
Continue to review full report at Codecov.