Skip to content

Commit 34e1a92

Browse files
authored
fix typo & php 8.4 deprecation warning (#333)
1 parent 918dee6 commit 34e1a92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Laravel Mail CSS Inliner
1212
Most email clients won't render CSS (on a `<link>` or a `<style>`). The solution is inline your CSS directly on the HTML. Doing this by hand easily turns into unmantainable templates.
1313
The goal of this package is to automate the process of inlining that CSS before sending the emails.
1414

15-
## Installation and compatability
15+
## Installation and compatibility
1616

1717
Starting with version 5 this package requires PHP 8.0 and Laravel 9.0 or higher.
1818

src/CssInlinerPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class CssInlinerPlugin
1919

2020
private string $cssToAlwaysInclude;
2121

22-
public function __construct(array $filesToInline = [], CssToInlineStyles $converter = null)
22+
public function __construct(array $filesToInline = [], ?CssToInlineStyles $converter = null)
2323
{
2424
$this->cssToAlwaysInclude = $this->loadCssFromFiles($filesToInline);
2525

0 commit comments

Comments
 (0)