Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Laravel Mail CSS Inliner
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.
The goal of this package is to automate the process of inlining that CSS before sending the emails.

## Installation and compatability
## Installation and compatibility

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

Expand Down
2 changes: 1 addition & 1 deletion src/CssInlinerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class CssInlinerPlugin

private string $cssToAlwaysInclude;

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

Expand Down