Skip to content

Commit 6a4a08e

Browse files
refactor: update variable types from suggestions
1 parent 94263bf commit 6a4a08e

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/vendor/
22
/composer.lock
3+
/report.txt

finder.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
require_once 'vendor/autoload.php';
4-
53
return \StubsGenerator\Finder::create()
64
->in( array(
75
'source/vendor/freemius/wordpress-sdk/includes',
@@ -35,7 +33,7 @@
3533
->depth('< 1')
3634
->path('start.php')
3735
)
38-
->notPath('source/vendor/freemius/wordpress-sdk/includes/customizer')
39-
->notPath('source/vendor/freemius/wordpress-sdk/includes/debug')
36+
->notPath('customizer')
37+
->notPath('debug')
4038
->sortByName(true)
4139
;

freemius-stubs.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5052,9 +5052,9 @@ function is_migration()
50525052
* @param int $blog_id
50535053
*
50545054
* @return array {
5055-
* @var bool $success
5056-
* @var string $error
5057-
* @var string $next_page
5055+
* @type bool $success
5056+
* @type string $error
5057+
* @type string $next_page
50585058
* }
50595059
*
50605060
* @uses Freemius::activate_license()

0 commit comments

Comments
 (0)