File tree Expand file tree Collapse file tree 5 files changed +56
-16
lines changed Expand file tree Collapse file tree 5 files changed +56
-16
lines changed Original file line number Diff line number Diff line change 1
- /build export-ignore
2
- /.gitattributes export-ignore
3
- /.travis.yml export-ignore
1
+ # Path-based git attributes
2
+ # https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
3
+
4
+ # Ignore all test and documentation with "export-ignore".
5
+ /.github export-ignore
6
+ /.gitattributes export-ignore
7
+ /.gitignore export-ignore
8
+ /phpunit.xml.dist export-ignore
9
+ /art export-ignore
10
+ /docs export-ignore
11
+ /tests export-ignore
12
+ /workbench export-ignore
13
+ /.editorconfig export-ignore
14
+ /.php_cs.dist.php export-ignore
15
+ /psalm.xml export-ignore
16
+ /psalm.xml.dist export-ignore
17
+ /testbench.yaml export-ignore
18
+ /UPGRADING.md export-ignore
19
+ /phpstan.neon.dist export-ignore
20
+ /phpstan-baseline.neon export-ignore
Original file line number Diff line number Diff line change 1
- / vendor
1
+ # Composer Related
2
2
composer.lock
3
- .DS_Store
4
- .phpunit.result.cache
3
+ /vendor
4
+
5
+ # Frontend Assets
6
+ /node_modules
7
+
8
+ # Logs
9
+ npm-debug.log
10
+ yarn-error.log
11
+
12
+ # Caches
5
13
.phpunit.cache
6
- .idea
14
+ .phpunit.result.cache
15
+ /build
16
+
17
+ # IDE Helper
18
+ _ide_helper.php
19
+ _ide_helper_models.php
20
+ .phpstorm.meta.php
21
+
22
+ # Editors
23
+ /.idea
24
+ /.fleet
25
+ /.vscode
26
+
27
+ # Misc
28
+ phpunit.xml
29
+ phpstan.neon
30
+ testbench.yaml
31
+ /docs
32
+ /coverage
Original file line number Diff line number Diff line change 33
33
}
34
34
},
35
35
"require-dev" : {
36
- "larastan/larastan" : " ^2.9" ,
37
36
"laravel/laravel" : " ^10.0|^11.0" ,
38
37
"mockery/mockery" : " ^1.6.12" ,
39
38
"php-coveralls/php-coveralls" : " ^2.7" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,5 @@ parameters:
6
6
paths:
7
7
- src
8
8
- config
9
- - database
10
9
tmpDir: build/phpstan
11
- checkOctaneCompatibility: true
12
- checkModelProperties: true
10
+
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ class GenderizeClient
13
13
protected $ names ;
14
14
15
15
/**
16
- * @var string The language used for the check
16
+ * @var string | null The language used for the check
17
17
*/
18
18
protected $ lang ;
19
19
20
20
/**
21
- * @var string The country used for the check
21
+ * @var string | null The country used for the check
22
22
*/
23
23
protected $ country ;
24
24
@@ -49,7 +49,7 @@ public function __construct(Request $request)
49
49
/**
50
50
* Fluent setter for names given as string
51
51
*
52
- * @param string $name
52
+ * @param string | array $name
53
53
* @return $this|GenderizeClient
54
54
*/
55
55
public function name ($ name = '' )
@@ -78,7 +78,7 @@ public function names(array $names)
78
78
/**
79
79
* Fluent setter for language
80
80
*
81
- * @param null $lang
81
+ * @param string | null $lang
82
82
* @return $this
83
83
*/
84
84
public function lang ($ lang = null )
@@ -91,7 +91,7 @@ public function lang($lang = null)
91
91
/**
92
92
* Fluent setter for country
93
93
*
94
- * @param null $country
94
+ * @param string | null $country
95
95
* @return $this
96
96
*/
97
97
public function country ($ country = null )
You can’t perform that action at this time.
0 commit comments