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

Block   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A make() 0 3 1
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