Completed
Push — master ( 8262c7...1a5313 )
by smiley
02:15
created
src/Interfaces/ArrayAccessTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
  *
18 18
  * @link http://php.net/manual/class.arrayaccess.php
19 19
  */
20
-trait ArrayAccessTrait{
20
+trait ArrayAccessTrait {
21 21
 
22 22
 	/**
23 23
 	 * @var array
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 	 * @link  http://php.net/manual/arrayaccess.offsetget.php
42 42
 	 * @inheritdoc
43 43
 	 */
44
-	public function offsetGet($offset){
44
+	public function offsetGet($offset) {
45 45
 		return $this->array[$offset] ?? null;
46 46
 	}
47 47
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 	 * @link  http://php.net/manual/arrayaccess.offsetset.php
50 50
 	 * @inheritdoc
51 51
 	 */
52
-	public function offsetSet($offset, $value){
52
+	public function offsetSet($offset, $value) {
53 53
 
54 54
 		$offset !== null
55 55
 			? $this->array[$offset] = $value
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 	 * @link  http://php.net/manual/arrayaccess.offsetunset.php
61 61
 	 * @inheritdoc
62 62
 	 */
63
-	public function offsetUnset($offset){
63
+	public function offsetUnset($offset) {
64 64
 		unset($this->array[$offset]);
65 65
 	}
66 66
 
Please login to merge, or discard this patch.