Completed
Push — development ( 1095bf...096548 )
by htmlBurger
09:03
created

Block::make()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Carbon_Fields;
4
5
/**
6
 * Block proxy factory class.
7
 * Used for shorter namespace access when creating a block.
8
 */
9
class Block extends Container {
10
	/**
11
	 * An alias of factory().
12
	 *
13
	 * @see    \Carbon_Fields\Container\Container::factory()
14
	 * @return \Carbon_Fields\Container\Container
15
	 */
16
	public static function make() {
17
		return call_user_func_array( array( 'parent', 'make' ), array_merge( array('block'), func_get_args() ) );
0 ignored issues
show
introduced by
No space after opening parenthesis of array is bad style
Loading history...
introduced by
No space before closing parenthesis of array is bad style
Loading history...
18
	}
19
}
20