Passed
Pull Request — master (#311)
by
unknown
05:35
created
Components/BlockAnchor/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 use Timber\Timber;
8 8
 use Timber\Post;
9 9
 
10
-add_filter('Flynt/addComponentData?name=BlockAnchor', function ($data) {
10
+add_filter('Flynt/addComponentData?name=BlockAnchor', function($data) {
11 11
     if (isset($data['anchor'])) {
12 12
         // convert to lowercase letters only
13 13
         $data['anchor'] = preg_replace('/[^a-zA-Z]/', '', strtolower($data['anchor']));
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     ];
44 44
 }
45 45
 
46
-add_filter('acf/load_field/name=anchorLinkCopy', function ($field) {
46
+add_filter('acf/load_field/name=anchorLinkCopy', function($field) {
47 47
     global $post;
48 48
     $post = new \Timber\Post($post);
49 49
     $message = $field['message'];
Please login to merge, or discard this patch.