Skip to content

Commit 91975f1

Browse files
committed
🚿
1 parent f1008bd commit 91975f1

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

docs/API-QROptions.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,10 @@ Inherited from [`SettingsContainerAbstract`](https://github.com/chillerlan/php-s
7070
| `$svgPreserveAspectRatio` | `string` | `'xMidYMid'` | * | See [preserveAspectRatio on MDN](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/preserveAspectRatio) |
7171
| `$svgWidth` | `string\|null` | `null` | * | Optional "width" attribute with the specified value (note that the value is not checked!) |
7272
| `$svgHeight` | `string\|null` | `null` | * | Optional "height" attribute with the specified value (note that the value is not checked!) |
73-
| `$textDark` | `string` | `'🔴'` | * | String substitute for dark |
74-
| `$textLight` | `string` | `'⭕'` | * | String substitute for light |
73+
| `$textDark` | `string` | `'██'` | * | String substitute for dark |
74+
| `$textLight` | `string` | `'░░'` | * | String substitute for light |
75+
| `$textLineStart` | `string` | `''` | * | An optional line prefix, e.g. empty space to align the QR Code in a console |
76+
| `$jsonAsBooleans` | `bool` | `false` | * | Whether to return matrix values in JSON as booleans or $M_TYPE integers |
7577
| `$fpdfMeasureUnit` | `string` | `'pt'` | * | Measurement unit for FPDF output: pt, mm, cm, in |
7678
| `$readerUseImagickIfAvailable` | `bool` | `false` | * | Use Imagick (if available) when reading QR Codes |
7779
| `$readerGrayscale` | `bool` | `false` | * | Grayscale the image before reading |

docs/API-QROutputInterface.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ The full phpDocumentor API documentation can be found at [chillerlan.github.io/p
55

66
## Methods
77
<!-- using non-breaking spaces chr(255) in the longest method signature to force the silly table to stretch -->
8-
| method | return | description |
9-
|---------------------------------------|---------|---------------------------------------------------------------------|
10-
| (static) `moduleValueIsValid($value)` | `bool` | Determines whether the given value is valid |
11-
| `dump(string $file = null)` | `mixed` | Generates the output, optionally dumps it to a file, and returns it |
8+
| method | return | description |
9+
|---------------------------------------|---------|----------------------------------------------------------------------|
10+
| (static) `moduleValueIsValid($value)` | `bool` | Checks whether the given value is valid for the current output class |
11+
| `dump(string $file = null)` | `mixed` | Generates the output, optionally dumps it to a file, and returns it |
1212

1313

1414
## Constants

docs/Appendix-URI-Content.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ https://www.youtube.com/watch?v=dQw4w9WgXcQ
2020

2121
**See also:**
2222

23-
- [What is a URL? (Mozilla MDN)](https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_URL)
24-
- [URL (Wikipedia)](https://en.wikipedia.org/wiki/URL)
23+
- [What is a URL? (Mozilla MDN)](https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_URL)
24+
- [URL (Wikipedia)](https://en.wikipedia.org/wiki/URL)
2525

2626

2727
## E-Mail `mailto`
@@ -84,7 +84,7 @@ geo:<latitude>,<longitude>[,<altitude>;crs=<crs>;u=<num>]
8484
```
8585

8686
The default coordinate system is WGS-84, for which latitude and longitude should be supplied as decimal degrees, the optional altitude in meters.
87-
Te parameter `u` can be used to specify an *uncertainty* value (in meters), a different *coordinate reference system* may be supplied with `crs`.
87+
The parameter `u` can be used to specify an *uncertainty* value (in meters), a different *coordinate reference system* may be supplied with `crs`.
8888

8989
Some applications support an additional query string with values of `z` for *zoom* level and `q` for a local search *query* (URL-encoded):
9090
```
@@ -243,6 +243,8 @@ END:VEVENT
243243
END:VCALENDAR
244244
```
245245

246+
**See also:**
247+
246248
- [RFC 5545 - Internet Calendaring and Scheduling Core Object Specification (iCalendar)](https://datatracker.ietf.org/doc/html/rfc5545)
247249
- [iCalendar (Wikipedia)](https://en.wikipedia.org/wiki/ICalendar)
248250
- [vobject library for PHP (GitHub)](https://github.com/sabre-io/vobject)

0 commit comments

Comments
 (0)