Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
ee1255cbdc | |||
5987e18f14 |
@ -88,7 +88,7 @@ class User extends Api
|
|||||||
* @return object|null
|
* @return object|null
|
||||||
* @since 3.2.0
|
* @since 3.2.0
|
||||||
**/
|
**/
|
||||||
public function get(string $username): o?bject
|
public function get(string $username): ?object
|
||||||
{
|
{
|
||||||
// Build the request path.
|
// Build the request path.
|
||||||
$path = "/users/{$username}";
|
$path = "/users/{$username}";
|
||||||
|
@ -325,7 +325,7 @@ class Structure
|
|||||||
* @return void
|
* @return void
|
||||||
* @since 3.2.0
|
* @since 3.2.0
|
||||||
*/
|
*/
|
||||||
protected function setMainXmlFile(mixed $plugin): void
|
protected function setMainXmlFile(object $plugin): void
|
||||||
{
|
{
|
||||||
$file_details = [
|
$file_details = [
|
||||||
'path' => $plugin->folder_path . '/' . $plugin->file_name . '.xml',
|
'path' => $plugin->folder_path . '/' . $plugin->file_name . '.xml',
|
||||||
|
Loading…
Reference in New Issue
Block a user