Completed
Push — master ( 1a6b57...4042aa )
by Alex
11:09
created

BadAnnotationException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 9
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
/**
4
 * Codeburner Framework.
5
 *
6
 * @author Alex Rohleder <[email protected]>
7
 * @copyright 2016 Alex Rohleder
8
 * @license http://opensource.org/licenses/MIT
9
 */
10
11
namespace Codeburner\Annotator\Exceptions;
12
13
/**
14
 * Exception throwed when a annotation was used wrong.
15
 *
16
 * @author Alex Rohleder <[email protected]>
17
 */
18
19
class BadAnnotationException extends AnnotationException
20
{
21
22
	public function __construct($annotation)
23
	{
24
		parent::__construct("The `$annotation` annotation was used wrong. Please check the arguments.");
25
	}
26
27
}
28