Completed
Push — master ( 21824c...ad254d )
by Sergey
03:23
created

BelongsToWidget::getAll()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace seregazhuk\Favro\Api\Endpoints\Traits;
4
5
trait BelongsToWidget {
6
7
	/**
8
	 * @param string $widgetCommonId
9
	 * @return mixed
10
	 */
11
	public function getAll($widgetCommonId)
12
	{
13
		return parent::getAll(['widgetCommonId'=>$widgetCommonId]);
14
	}
15
}