Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
oxido | ee1255cbdc | |
oxido | 5987e18f14 |
|
@ -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}";
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue