Code Duplication    Length = 8-8 lines in 2 locations

lib/inflections.php 1 location

@@ 118-125 (lines=8) @@
115
			return $this->$property;
116
		}
117
118
		if (class_exists('ICanBoogie\PropertyNotDefined'))
119
		{
120
			throw new PropertyNotDefined(array($property, $this));
121
		}
122
		else
123
		{
124
			throw new \InvalidArgumentException("Property not defined: $property");
125
		}
126
	}
127
128
	/**

lib/inflector.php 1 location

@@ 98-105 (lines=8) @@
95
			return $this->$property;
96
		}
97
98
		if (class_exists('ICanBoogie\PropertyNotDefined'))
99
		{
100
			throw new PropertyNotDefined(array($property, $this));
101
		}
102
		else
103
		{
104
			throw new \InvalidArgumentException("Property not defined: $property");
105
		}
106
	}
107
108
	/**