FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
phpdoc-parser/src/ParserConfig.php at 2.0.2 · phpstan/phpdoc-parser · GitHub
phpstan
phpdoc-parser
Repository navigation
Code
Issues
8
(8)
Pull requests
16
(16)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
phpdoc-parser
/
src
/
ParserConfig.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (15 loc) · 425 Bytes
Breadcrumbs
phpdoc-parser
/
src
/
ParserConfig.php
Copy path
File metadata and controls
21 lines (15 loc) · 425 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
declare
(strict_types =
1
);
namespace
PHPStan
\
PhpDocParser
;
class
ParserConfig
{
public
bool
$
useLinesAttributes
;
public
bool
$
useIndexAttributes
;
/**
* @param array{lines?: bool, indexes?: bool} $usedAttributes
*/
public
function
__construct
(
array
$
usedAttributes
)
{
$
this
->
useLinesAttributes
=
$
usedAttributes
[
'
lines
'
] ??
false
;
$
this
->
useIndexAttributes
=
$
usedAttributes
[
'
indexes
'
] ??
false
;
}
}
Back
|
FazBrowse Home
|
New Git URL