Skip to content

Commit 12db529

Browse files
committed
Typos
1 parent 52cc7f9 commit 12db529

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/vendor/
2+
/.idea/
23
/.*.cache
34
/tests-report-html/
45
/composer.lock

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
},
3939
"autoload": {
4040
"psr-4": {
41-
"MC\\": "lib/MC"
41+
"MC\\": "lib/MC/"
4242
}
4343
},
4444
"autoload-dev": {
4545
"psr-4": {
46-
"Tests\\": "tests"
46+
"Tests\\": "tests/"
4747
}
4848
},
4949
"scripts": {

examples/callback_fields.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function most_common(array $row): ?string
3535
'pill' => ['field' => 'pill', 'type' => 'number'],
3636
'iud' => ['field' => 'iud', 'type' => 'number'],
3737
'condom' => ['field' => 'condom', 'type' => 'number'],
38-
'sterile_total' => ['field' => 'steril_total', 'type' => 'number'],
38+
'sterile_total' => ['field' => 'sterile_total', 'type' => 'number'],
3939
'other_modern' => ['field' => 'other_modern', 'type' => 'number'],
4040
'traditional' => ['field' => 'traditional', 'type' => 'number'],
4141
'most_common' => [
@@ -54,7 +54,7 @@ function most_common(array $row): ?string
5454
<html lang="en">
5555
<head>
5656
<title>Callback fields visualization example</title>
57-
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
57+
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
5858
<script type="text/javascript">
5959
google.load('visualization', '1', {'packages': ['table']});
6060
google.setOnLoadCallback(function() {

examples/simple.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
exit;
2525
}
2626
?>
27-
<html>
27+
<html lang="en">
2828
<head>
2929
<title>Simple single-table visualization example</title>
3030
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>

lib/MC/Parser/Def/Regex.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use MC\Parser\ParseError;
99

1010
/**
11-
* Generic grammar rule for matching a regular expresion.
11+
* Generic grammar rule for matching a regular expression.
1212
*/
1313
class Regex extends Def
1414
{

lib/MC/Parser/Def/Word.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Word extends Regex
1111
{
1212
/**
1313
* @param string $firstChars the characters allowed as the first character in the word
14-
* @param null|string $restChars the characters allwed as the rest of the word - defaults to same as $first_chars
14+
* @param null|string $restChars the characters allowed as the rest of the word - defaults to same as $first_chars
1515
*/
1616
public function __construct(string $firstChars, string $restChars = null)
1717
{

0 commit comments

Comments
 (0)