Skip to content

Commit

Permalink
Add ReflectionFile::isStrictMode() description
Browse files Browse the repository at this point in the history
  • Loading branch information
lisachenko committed Dec 29, 2016
1 parent 8a60ed9 commit b996fd3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/reflection_file.md
Expand Up @@ -14,6 +14,7 @@ class ReflectionFile
public function getFileNamespaces() {}
public function getName() {}
public function hasFileNamespace($namespaceName) {}
public function isStrictMode() {}
}
```

Expand All @@ -40,5 +41,7 @@ Methods

Checks if requested namespace is present in the file or not. Returns `true` if present.


- `ReflectionFile::isStrictMode()`

Checks if current file has enabled strict mode via `declare(strict_types=1)` for PHP>=7.0
[0]: reflection_file_namespace.md

0 comments on commit b996fd3

Please sign in to comment.