Completed
Push — master ( 759704...1c5704 )
by Beñat
04:28
created

Wysiwyg::toolbars()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the WPFoundation library.
5
 *
6
 * Copyright (c) 2015-2016 LIN3S <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace LIN3S\WPFoundation\Configuration\Acf;
13
14
/**
15
 * Custom ACF Wysiwyg class adding some useful features.
16
 *
17
 * @author     Beñat Espiña <[email protected]>
18
 * @author     Jon Torrado <[email protected]>
19
 *
20
 * @deprecated since version 1.6, will be removed in 2.0. Extend the ACF class in your project and instantiate
21
 *             inside your project Theme.
22
 */
23
class Wysiwyg
24
{
25
    /**
26
     * Constructor.
27
     *
28
     * @param array $toolbars Array which contains toolbar
29
     */
30
    public function __construct(array $toolbars)
0 ignored issues
show
Unused Code introduced by
The parameter $toolbars is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
31
    {
32
    }
33
34
    /**
35
     * Callback method that manages the Wysiwyg toolbars.
36
     *
37
     * @param array $toolbars Array which contains the toolbars
38
     *
39
     * @return array
40
     */
41
    public function toolbars(array $toolbars)
0 ignored issues
show
Unused Code introduced by
The parameter $toolbars is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
42
    {
43
    }
44
}
45