Completed
Push — master ( 3f0fe0...cc3b86 )
by Thomas
13:38
created
src/model/RegionTypeQuery.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
  * long as it does not already exist in the output directory.
15 15
  *
16 16
  */
17
-class RegionTypeQuery extends BaseRegionTypeQuery
18
-{
17
+class RegionTypeQuery extends BaseRegionTypeQuery {
19 18
 
20 19
 }
Please login to merge, or discard this patch.
src/model/SessionQuery.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
  * long as it does not already exist in the output directory.
15 15
  *
16 16
  */
17
-class SessionQuery extends BaseSessionQuery
18
-{
17
+class SessionQuery extends BaseSessionQuery {
19 18
 
20 19
 }
Please login to merge, or discard this patch.
src/model/User.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 		$obj->setVerb($options['verb']);
44 44
 		$obj->setObject($this->getActivityObject($options['object']));
45 45
 		if (isset($options['target'])) {
46
-		    $obj->setTarget($this->getActivityObject($options['target']));
46
+			$obj->setTarget($this->getActivityObject($options['target']));
47 47
 		}
48 48
 		$obj->save();
49 49
 	}
@@ -54,15 +54,15 @@  discard block
 block discarded – undo
54 54
 	private function findActivityObject(ActivityObject $ao) {
55 55
 		$q = ActivityObjectQuery::create()->filterByClassName($ao->getClassName())->filterByType($ao->getType())->filterByReferenceId($ao->getId());
56 56
 		if (method_exists($ao, 'getVersion')) {
57
-		    $version = $ao->getVersion();
58
-		    if (!empty($version)) {
59
-		        $q = $q->filterByVersion($version);
60
-		    }
57
+			$version = $ao->getVersion();
58
+			if (!empty($version)) {
59
+				$q = $q->filterByVersion($version);
60
+			}
61 61
 		}
62 62
 		$result = $q->findOne();
63 63
 		if ($result) {
64
-		    $result->setDisplayName($ao->getDisplayName());
65
-		    return $result;
64
+			$result->setDisplayName($ao->getDisplayName());
65
+			return $result;
66 66
 		}
67 67
 		return $ao;
68 68
 	}
@@ -72,10 +72,10 @@  discard block
 block discarded – undo
72 72
 	 */
73 73
 	private function getActivityObject($obj) {
74 74
 		if ($obj instanceof ActivityObject) {
75
-		    return $obj;
75
+			return $obj;
76 76
 		}
77 77
 		if ($obj instanceof ActivityObjectInterface) {
78
-		    return $this->findActivityObject($obj->toActivityObject());
78
+			return $this->findActivityObject($obj->toActivityObject());
79 79
 		}
80 80
 	}
81 81
 }
Please login to merge, or discard this patch.
src/serializer/base/ActionSerializerTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,9 +74,9 @@
 block discarded – undo
74 74
 	}
75 75
 
76 76
 	/**
77
-	 * @param mixed $model
77
+	 * @param \keeko\core\model\Action $model
78 78
 	 * @param mixed $data
79
-	 * @return mixed The model
79
+	 * @return \keeko\core\model\Action The model
80 80
 	 */
81 81
 	public function hydrate($model, $data) {
82 82
 		// attributes
Please login to merge, or discard this patch.
src/serializer/base/ActivityObjectSerializerTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,9 +60,9 @@
 block discarded – undo
60 60
 	}
61 61
 
62 62
 	/**
63
-	 * @param mixed $model
63
+	 * @param \keeko\core\model\ActivityObject $model
64 64
 	 * @param mixed $data
65
-	 * @return mixed The model
65
+	 * @return \keeko\core\model\ActivityObject The model
66 66
 	 */
67 67
 	public function hydrate($model, $data) {
68 68
 		// attributes
Please login to merge, or discard this patch.
src/serializer/base/ActivitySerializerTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,9 +76,9 @@
 block discarded – undo
76 76
 	}
77 77
 
78 78
 	/**
79
-	 * @param mixed $model
79
+	 * @param \keeko\core\model\Activity $model
80 80
 	 * @param mixed $data
81
-	 * @return mixed The model
81
+	 * @return \keeko\core\model\Activity The model
82 82
 	 */
83 83
 	public function hydrate($model, $data) {
84 84
 		// attributes
Please login to merge, or discard this patch.
src/serializer/base/ApiSerializerTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,9 +74,9 @@
 block discarded – undo
74 74
 	}
75 75
 
76 76
 	/**
77
-	 * @param mixed $model
77
+	 * @param \keeko\core\model\Api $model
78 78
 	 * @param mixed $data
79
-	 * @return mixed The model
79
+	 * @return \keeko\core\model\Api The model
80 80
 	 */
81 81
 	public function hydrate($model, $data) {
82 82
 		// attributes
Please login to merge, or discard this patch.
src/serializer/base/ApplicationSerializerTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,9 +58,9 @@
 block discarded – undo
58 58
 	}
59 59
 
60 60
 	/**
61
-	 * @param mixed $model
61
+	 * @param \keeko\core\model\Application $model
62 62
 	 * @param mixed $data
63
-	 * @return mixed The model
63
+	 * @return \keeko\core\model\Application The model
64 64
 	 */
65 65
 	public function hydrate($model, $data) {
66 66
 		// attributes
Please login to merge, or discard this patch.
src/serializer/base/ApplicationUriSerializerTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,9 +77,9 @@
 block discarded – undo
77 77
 	}
78 78
 
79 79
 	/**
80
-	 * @param mixed $model
80
+	 * @param \keeko\core\model\ApplicationUri $model
81 81
 	 * @param mixed $data
82
-	 * @return mixed The model
82
+	 * @return \keeko\core\model\ApplicationUri The model
83 83
 	 */
84 84
 	public function hydrate($model, $data) {
85 85
 		// attributes
Please login to merge, or discard this patch.