diff --git a/core/includes/entity.inc b/core/includes/entity.inc
old mode 100644
new mode 100755
index 0a8f7ba..0a756ba
--- a/core/includes/entity.inc
+++ b/core/includes/entity.inc
@@ -13,7 +13,7 @@
  * Clears the entity render cache for all entity types.
  */
 function entity_render_cache_clear() {
-  $entity_manager = Drupal::entityManager();
+  $entity_manager = \Drupal::entityManager();
   foreach ($entity_manager->getDefinitions() as $entity_type => $info) {
     if ($entity_manager->hasHandler($entity_type, 'view_builder')) {
       $entity_manager->getViewBuilder($entity_type)->resetCache();
@@ -96,7 +96,7 @@ function entity_revision_load($entity_type, $revision_id) {
  *
  * @param string $entity_type
  *   The entity type to load, e.g. node or user.
- * @param $revision_id
+ * @param int $revision_id
  *   The revision ID to delete.
  */
 function entity_revision_delete($entity_type, $revision_id) {
@@ -198,12 +198,12 @@ function entity_load_multiple_by_properties($entity_type, array $values) {
  * is useful to determine changes by comparing the entity being saved to the
  * stored entity.
  *
- * @param $entity_type
+ * @param string $entity_type
  *   The entity type to load, e.g. node or user.
- * @param $id
+ * @param int $id
  *   The ID of the entity to load.
  *
- * @return
+ * @return array
  *   The unchanged entity, or FALSE if the entity cannot be loaded.
  */
 function entity_load_unchanged($entity_type, $id) {
@@ -247,17 +247,18 @@ function entity_create($entity_type, array $values = array()) {
 /**
  * Returns the label of an entity.
  *
- * This is a wrapper for Drupal\Core\Entity\EntityInterface::label(). This function
- * should only be used as a callback, e.g. for menu title callbacks.
+ * This is a wrapper for Drupal\Core\Entity\EntityInterface::label().
+ * This function should only be used as a callback, e.g. for menu title
+ * callbacks.
  *
  * @param \Drupal\Core\Entity\EntityInterface $entity
  *   The entity for which to generate the label.
- * @param $langcode
+ * @param string $langcode
  *   (optional) The language code of the language that should be used for
  *   getting the label. If set to NULL, the entity's default language is
  *   used.
  *
- * @return
+ * @return string
  *   The label of the entity, or NULL if there is no label defined.
  *
  * @see \Drupal\Core\Entity\EntityInterface::label()
