Completed
Push — master ( b476a5...402091 )
by Thomas
05:02 queued 18s
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
 	}
72 72
 
73 73
 	/**
74
-	 * @param mixed $model
74
+	 * @param \keeko\core\model\Action $model
75 75
 	 * @param mixed $data
76 76
 	 */
77 77
 	public function hydrate($model, $data) {
Please login to merge, or discard this patch.
src/serializer/base/ActivityObjectSerializerTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 	}
59 59
 
60 60
 	/**
61
-	 * @param mixed $model
61
+	 * @param \keeko\core\model\ActivityObject $model
62 62
 	 * @param mixed $data
63 63
 	 */
64 64
 	public function hydrate($model, $data) {
Please login to merge, or discard this patch.
src/serializer/base/ActivitySerializerTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 	}
75 75
 
76 76
 	/**
77
-	 * @param mixed $model
77
+	 * @param \keeko\core\model\Activity $model
78 78
 	 * @param mixed $data
79 79
 	 */
80 80
 	public function hydrate($model, $data) {
Please login to merge, or discard this patch.
src/serializer/base/ApiSerializerTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
 	}
72 72
 
73 73
 	/**
74
-	 * @param mixed $model
74
+	 * @param \keeko\core\model\Api $model
75 75
 	 * @param mixed $data
76 76
 	 */
77 77
 	public function hydrate($model, $data) {
Please login to merge, or discard this patch.
src/serializer/base/ApplicationSerializerTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 	}
57 57
 
58 58
 	/**
59
-	 * @param mixed $model
59
+	 * @param \keeko\core\model\Application $model
60 60
 	 * @param mixed $data
61 61
 	 */
62 62
 	public function hydrate($model, $data) {
Please login to merge, or discard this patch.
src/serializer/base/ApplicationUriSerializerTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 	}
75 75
 
76 76
 	/**
77
-	 * @param mixed $model
77
+	 * @param \keeko\core\model\ApplicationUri $model
78 78
 	 * @param mixed $data
79 79
 	 */
80 80
 	public function hydrate($model, $data) {
Please login to merge, or discard this patch.