Compare commits

...

2 Commits
5.x ... staging

2 changed files with 1034 additions and 1034 deletions

View File

@ -88,7 +88,7 @@ class User extends Api
* @return object|null
* @since 3.2.0
**/
public function get(string $username): o?bject
public function get(string $username): ?object
{
// Build the request path.
$path = "/users/{$username}";

View File

@ -325,7 +325,7 @@ class Structure
* @return void
* @since 3.2.0
*/
protected function setMainXmlFile(mixed $plugin): void
protected function setMainXmlFile(object $plugin): void
{
$file_details = [
'path' => $plugin->folder_path . '/' . $plugin->file_name . '.xml',